Bug 906671: Fix log location in Ruby tidy hook

Fix the Ruby tidy hooks to clean logs from the correct location.

Resolve https://bugzilla.redhat.com/show_bug.cgi?id=906671.
Merge pull request #1271 from ironcladlou/bz/906671

Merged by openshift-bot
bump spec for chainbuild
Automatic commit of package [rubygem-openshift-origin-console] release [1.4.4-2].
share db connection logic