Enable rubocop

This setup of rubocop is very lenient to begin with. Some leniencies are established in .rubocop.yml and other times rules are disabled inline in the files. Over time, more rules should be enabled.

This also adds rubocop to the default rake task.

I haven't gone back and fully reviewed everything myself, but I plan to this week. It's also probably better to get more eyes on this as early as possible given how big the change is.

I also should note that the bulk of these conversions were done by Rubocop's auto-converter.

Addresses #1586.
This method won't actually be private, even though it's under the `private` declaration.  That declaration only affects instance methods. You have to use `private_class_method :method_name`, or open the singleton class and define methods w/o `self` in that.

http://domon.cc/2013/12/25/private-class-methods-in-ruby/