Adding rubocop to style check

Also repaired rubocop violations
Added rubocop style checking.

+ Added rubocop style checking to rake.
+ Also fixed all rubocop violations.