Fix attribute validation when allowNull is default, and fix Postgres deleteQuery primaryKey bug.

When allowNull is not set for a model's column, treat the default value as true. Also treat primaryKey attribute as allowNull = false.
postgres has no support for LIMIT/ORDER in DELETE's, hence the subquery.