added a classmap cache to the loader, to speed up the autoloader

this is a proof-of-concept, and need to be improved if we keep it!