Ak dbapi

make module more dbapi compliant

outstanding features:
server side cursor/streaming of data
proper parameter bindings (currently borrowing psycopg's escaping logic).