small style changes
many small formatting changes, added rubocop to .travis.yml