The history does not store the reconciled entries

Because the new reconciliations are committed in a different transaction
than the one used to create the history.
Move the new cursor initialization to the outer method 'run_reconcile()'
so everything is enclosed in the same transaction.
remove useless noqa
Missing declaration of _logger and _
Long line
pep8: E124 closing bracket does not match visual indentation
Merge pull request #17 from guewen/reconcile-store-history

The history does not store the reconciled entries