Adding ability to repair PageDB as a separate utility that can
be run outside the context of a hydra job. Moving class from
/test to /main in order to make it possible to deploy in executable
jar.