Make Ruby style consistent throughout the codebase

Includes some small adjustments to Hound/Rubocop config.
Prefer `map` over `collect`.<br>Use snake_case for variables.