Simplify running JS tests with rails tests and fix for java
Simplify and fix coveralls config
Cache apt and bundle on travis