Stop throwing SQLException from Table.insert(), update(), and delete()

Move isConstraintException() from SqlDialect to RuntimeSQLException
Wrong branch on previous checkin, revert
New helper class for methods related to SecurityController.PermissionsAction
Missed some permissions helpers
Fix js file path
Merge branch 'refs/heads/master' into signin
Merge branch 'refs/heads/develop' into signin