Improved test suite

Added config for phpunit and Travis CI.
Used composer autoload for tests.

Please, to take advantage of this feature, enable the Travis hook in the project settings page and update the Travis status URL in README.md.