Add Hound/Rubocop config; Make Ruby style consistent

**Analog to opf/openproject#1879 and opf/openproject#2136**
Shadowing outer local variable - `objs`.