Replace _ConnectionWrapper with subclass to reuse existing features.

The _ConnectionWrapper class wrapped an existing connection using an
object composition approach but sqlite3 provides existing functionality
using a factory class approach.  The new _SharedConnection subclass
requires less code and works better with the built-in package.