Add a functional test for republishing content after "Failed/Error"

Reset content to "Draft" if PUT /contents/<id>@draft.json
Merge pull request #114 from Connexions/republish-after-error

Add a functional test for republishing content after "Failed/Error"