Sync urls.py with upstream
New way of testing if DOCUMENTS_APP is installed (from upstream)
Merge pull request #160 from gem/urls-sync

Sync urls.py with upstream