Add tests for CORS shared dbs

BugzId: 33388
Merge pull request #18 from cloudant/33388-fix-shared-dbs-permissions-lookup-cassim

Add tests for CORS shared dbs