Add support for scripting check constraints for tables (part of issue #16). To do: check constraints for domains; comparison functions for check constraints.