Return 401 Unauthorized instead of 403 Forbidden if user is not logged in
Merge pull request #36 from Connexions/return-401

Return 401 Unauthorized instead of 403 Forbidden if user is not logged in
Raise error if binder contains a document not in authoring

This only happens if the id ends with "@draft"
Add "state" and "publication" metadata fields
Publish documents to archive using cnx-publishing