Added #131: Add support for serializing/deserializing SQL (thanks @ryancurrah) Changed #148: More accurate validation messages on constraints