Ensure Assets reverse router doesn't fail when no application

Fixes #3115
Merge pull request #3115 from jroper/3115-assets-no-application

Router requiring running application. Template tests broken