Fixed a bug on tablespace permissions

Since now 0000-base_schema.sql is executed by oq_admin and not by postgres, we have to move the tablespace permission management into oq_create_db. The tests are green: https://ci.openquake.org/job/zdevel_oq-engine/573