Add travis config.
Add require and autoload options for composer config.
Fix CS errors.
Merge pull request #1 from ADmad/travis

Travis