Added context manager support to dbapi objects

Solves #39 .

Seems like a sensible enough way to do it, since we dont have transactions