Update extras API to return canPublish using document_acl table

Close #253
Merge pull request #258 from Connexions/publish-permission

Update extras API to return canPublish using document_acl table
Removes cnx-user and adds osc-accounts.
Update travis config to create two databases.
Move testing configuration into tests package.