Converted tests to phpunit

Added Makefile to run unit tests, use linting and style checks.

There is also a .travis.yml file that should allow TravisCI integration. 

I also dropped autoloader.php in favor of the generated composer one, that way the tests are running against what users get.