Move core extensions to `core_ext`

- Fix RuboCop offences and regenerate todo
- Simplify `size_for_print`