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
Merge pull request #2 from danielcosta/feature/unit-test

Initial unit tests, Travis CI and composer.json enhancements