Fixes #414 - integrates rubocop gem

Adds rubocop gem and fixes majority of issues noted by cop.
Merge pull request #511 from codeforamerica/414-rubocop-integration

Fixes #414 - integrates rubocop gem