coremanager.py: Allow cores to reside anywhere in the cores tree

Thia removes the restriction that a directory containing a
.core file must have the same name as the .core file itself.