Upgrade RuboCop

* upgrade to the latest `0.24.1` version
* memoize `StyleGuide#config` result
* disable `EndOfLine` cop in tests

https://trello.com/c/K7dSqe3k