Adds rubocop and makes it green

There are still a lot of changes to be done, that are in the rubocop
todo. Maybe using rubocop auto correct would be a good solution.

The ruby version was failing for me, because of the patch version. Until we find a less strict way of verifying ruby's version, I propose we just remove it.