Fixes #414 - integrates rubocop gem

Adds rubocop gem and fixes majority of issues noted by cop.
I know Rubucop says the arguments are not used but they are required in this case. Otherwise, the app will not run on Heroku.