Fix NULL values with SQLCustomType
Initial tests for SQLCustomType
better SQLCustomType tests
Merge pull request #550 from ilvalle/fix-sqlcustomtype

Fix NULL values with SQLCustomType