Add Rubocop

I left out the spec files because serverspec does not work well with rubocop. I initially tried to make it work but it ends up making the spec files unreadable.