Initial unit tests, Travis CI and composer.json enhancements

- Added initial unit tests
- Added Travis CI support
- Enhanced composer.json with phpunit dependency for dev and autoload statement