Made autoloader work within Phar files

realpath() has issues when executing inside of a Phar.
I also simplified the autoloader code.
Merge pull request #9 from TravisPaul/master

Made autoloader work within Phar files