Fix travis configuration

* Fix Java version check
* Add 1.1 and 1.2 conf files
* Fix gemcutter warning
Remove unsupported ruby versions from travis.yml
Merge pull request #52 from vicentllongo/travis_fix

Fix travis configuration