add DomainMetadataResource
add project space metadata api to urls
handle no subscription case
restrict project space API to superusers
Merge pull request #4536 from dimagi/tastypie-api

use tastypie to implement project space metadata api