First stab at dbapi compliance
support old api
Merge pull request #16 from uber/ak_dbapi

Ak dbapi