Adds application API key authentication and permissions.
Add trust relationship via api-key authnz.
Add a new 'Publishing' state to help prevent double publish.
Adjust to only check state at polling route to prevent race condition.
Merge pull request #6 from Connexions/authnz

Add API-key authentication and trust relationships