Use nested_filters for sorting apps depending on collection order (bug 951626)

https://bugzilla.mozilla.org/show_bug.cgi?id=951626

This needs https://github.com/mozilla/elasticutils/pull/189 to be merged and the requirements updated to work, so don't merge yet.

r? @robhudson