Fixed back compatibility of ResourceMap with core load_stack_* and other resource storages
Added ignorefiles to resource map for excluding defined files from map, for example phpunit.php