Rubocop upgrade

This is a long way to update rubocop and his styles config to be merged. So i will keep it open because it is some work to do:

```
197 files inspected, 238 offences detected
```

Many of them are new conventions from Rubocop anyway. This PR also holds ruby update to 2.1