New DatabaseReader reads ledger numbers from database.

A start at a database reader - so far only for ledger numbers.
I wonder if this test could be reduced to simple subset of the current data. No real need to test the same parsing code multiple times, and any regressions might be harder than needed to debug in the future.