Adds PHPUnit test.
Adds Travis-CI build configuration.
Merge pull request #1 from damncabbage/adds-phpunit

Sets up PHPUnit and Travis-CI, and adds a test.