Encapsulation urlconf

Depends in #145

Added a test that detects unexpected inter-app dependencies via URL reversals.

Submitting the PR now so I can share the design, the current test output, and ideas on how to resolve the current failures.