Add rubocop to CI process

Rubocop config
Fix some rubocop offenses
Merge pull request #40 from ggiamarchi/dev

Add rubocop to CI process