Add Hound/Rubocop config; Make Ruby style consistent

**Analog to opf/openproject#1879 and opf/openproject#2136**
Line is too long. [193/80]<br>Prefer `map` over `collect`.<br>Space missing to the left of {.<br>Space between { and | missing.<br>Space missing inside }.