Integrate Travis CI and fix test failures

* Adds composer.json and .travis.yml
* Fix many case issues that were missed because osx isn't case sensitive.
* Replace all core kohana module core with git submodules.