Collect array of resolved namespace files to avoid searching each time
Change to class_exists/interface_exists
Merge pull request #1880 from AmyStephen/master

Performance: Located Array