Added context manager support to dbapi objects