Fix bug 958278 - only insert asset middleware when static asset serving is enabled
Merge pull request #2320 from liggitt/bug_958278_segfault_on_int_assetss

Merged by openshift-bot