Fixes unique predefined validator, adds test to it
Changes postgres.sync() to check if table creation is successfull before adding subqueries (indexes, types, ..) (fixes #24)