Added alert with error message on error.
Added support for sub queries.
Changed RefField to use ref.field().getValue() instead of ref.getValue()
to prevent record loading.
Added database backup events.
Added normalizeNumber.
Added SQL.NULL, parenteses around composite conds and fixed date param
bug.