Added and updated style

- added rubocop and rubycritic to Gemfile
- ran 'rubocop -a'
- ran 'rubocop --auto-gen-config'
- added '.rubocop.yml
- added 'tmp/' to '.gitignore'