Apparatus for obtaining or removing undisturbed cores, e.g. core barrels, core extractors for obtaining oriented cores