Adding rubocop, travis, and git files. Fixing rubocop failures.