Fixes #414 - integrates rubocop gem

Adds rubocop gem and fixes majority of issues noted by cop.
I think this needs to be indented 2 spaces only since it's appended to the entire expect method.