[lua-cleanup] move util dir from virgo to virgo-base

This is https://github.com/racker/virgo-base/pull/45 rebased to master HEAD.

It also includes some commits in `master` of `virgo-base` but ahead of what's referenced by `virgo`. Hope they won't break anything...