Verious cleanups:

NEXUS-7508: logging
NEXUS-7512: silly code
and other (removal of deprecated code, duplicated code...)
Removal of newScript method
Made log WARN and added stack trace
Merge pull request #780 from sonatype/nexus-2.11.x-ruby-cleanup

[Ruby] Various cleanup