Add Hound/Rubocop config; Make Ruby style consistent

**Analog to opf/openproject#1879 and opf/openproject#2136**
Useless assignment to variable - `code`. Use `_` or `_code` as a variable name to indicate that it won't be used.<br>Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.