Use self-releasing (for reuse) DB connections

* Also use the correct DB for the Pager classes

Change-Id: Ia2020924822d9548f100383e6b11d3c9fc4884e3