Create setpermissions_PG_SP

Postgress function used in project creation to write permissions directly to next_gen_permissions table.

Creates <Project> Publisher, <Project> Editor, <Project Viewer> groups.

Permissions can be edited, permission 1 = allow, 2 = deny.  Comment out the permission line to set permission to inherit.