Add intercept framework to the testcase.
Revise loose-pages publication test using intercept.
Revise binder publication test using intercept.
Import cnxarchive and cnxpublishing at the module level, since they are now deps.
Use requests lib to derive from archive.
Fix test for derive-from not found.

Depends on https://github.com/Connexions/cnx-archive/pull/273
Test derive content with resources.
Replace json.loads with webtest's response.json property.
Remove the now unnecessary check for acl creation.
Fix missing data response header to json rather than html.
Allow tests that require a publishing instanstance to run through.
Remove mocked archive from derived publish tests.
Fix derive-from tests

This fixes the tests to match the content in archive when doing a derive.
Fix derive-from test that tests for success when missing a resource.

This adds a special setup that amends the archive data.
Remove content created in another test before trying to reuse it in this test.

The content being used here is used in other functional tests,
which causes the content to already exist in the database,
but it was created without creating the publishing acl and acceptance
requests.
Remove acl when publisher role is removed. Fixes #161

This fixes the acl sync'ing code to push all new acls and then
difference to remove any missing roles.
Fix acceptance test.

These requests work against the view permission, which a rejected
role will have.
Merge pull request #162 from Connexions/testing-in-practice

Intercept testing in practice