CDB-3094 initial function to share tables/schemas between users within the same database
CDB-3094 use bash command instead of sh
CDB-3094 no hardcoded database. it also creates the database between tests and the cartodb schema to install the functions
Merge branch 'master' of https://github.com/CartoDB/cartodb-postgresql into CDB-3094
CDB-3094 enables organizations functions
Merge branch 'master' of https://github.com/CartoDB/cartodb-postgresql into CDB-3094
Do not assume "postgres" user exists
Add note about the need to be postgresql superuser when running tests
Have travis specify "postgres" as the testsuite running user
Use "cdb_test" prefix for test member names

User names are global to a cluster, better try to reduce likelyhood
of clashes
CDB-3094 changes signature to allow specifying the schema because it does not have to be the role name.
- fixes tests to match new signature.
- does not revoke access to the schema when revoking access to a table. TODO
CDB-3094 Removes for now the role groups management as it is not clear if we need them
CDB-3094 Adds cdb_org_member role group and functions to handle access to tables through it
CDB-3094 Improves bash test runner by displaying failing tests after execution
CDB-3094 Makes organization member group role name unique to database by using the database name md5 hash
CDB-3094 no hardcoded coloring output by creating a new log_warning function
CDB_QueryTables return tables with schema
Merge remote-tracking branch 'rambo/cdb_querytables_support_schemas' into CDB-3094
added delete permission with write permission for organization
CDB-3094 DELETE permission for read-write rule