Merge pull request #21 from dimdin/master

various fixes and enhancements
implemented sql_variant type Issue #26