fix missing application context when using a saved search

fixes #788
Merge git://github.com/Graylog2/graylog2-web-interface into develop