Upgrade RuboCop

* upgrade to the latest `0.24.1` version
* memoize `StyleGuide#config` result
* disable `EndOfLine` cop in tests

https://trello.com/c/K7dSqe3k
Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.