Include java.sql cause in database runtime exceptions
Builder for Restriction model

Added setId as package visible method on PersistableObject.
Allow Restrictions to be defined and discarded

Restrictions are persisted when user selects Done button. If the Restrictions have changed then existing Assignments are deleted otherwise any existing Assignments are unaffected.