Adding rubocop, travis, and gitignore. Fixing rubocop failures.

Since it's just running rubocop, we probably don't need three separate jobs at this point.