Add three changes from corrupt repository (see details).

1. Add Connector object to manage persistent and temporary database
instances (both out-of- and in-memory) along with relevant test
cases.

2. Complete data model script, test behavior and integrity.

3. Add custom SQLite (TEXTNUM/Decimal) for exact decimal arithmetic.