Improved destruction of SQLite DBs and tables by clearing circular references.
Improved destruction of SQLite DBs and tables by clearing circular
references.

* Updated DB to have explicit close method which is idempotent and so
  can be called repeatedly.
* Aliased DB destructor to close method.
* Aliased table destructor to disconnect method.

afbarnard/fitamord