converted legacy code to liquid/3.x database interface
Merge branch 'liquid/3.x' of git://github.com/ibidem/mjolnir-access into liquid/3.x