[Ruby] Various cleanup

NEXUS-7508: logging
NEXUS-7512: silly code
and other (removal of deprecated code, duplicated code...)

CI
http://bamboo.s/browse/NX-OSSF318