Add support for pymssql. Fixes #35

Also fixes a bug I found in mssql support.