Update rails dependencies and add travis config.