CDB-3094 links to lib/sql dependency with latest functions and member group role.
Adds methods in table model to manipulate new permissions and rake task to create role group for existing users.