Replace multiple inheritance with composition.

To eliminate unnecessary dbObjectId class.

What do you think of this change? It simplifies the class structure of SQLiteObject and SQLDriver, and otherwise the code functions identically.