Several fixes: PostgresDatasource default values. Mappings generating duplicated foreign keys. Bug with test data on install.