constraint parsing enhanced and centralazied to \app\SQL::parseconstraints; extra constrains added to allow for security checks