Bug 897532. Add support for better filtering in Azure. r=bas

This fixes the quality regression on OS X.

--HG--
extra : rebase_source : afbf0c332c23933096fa97a022698dc992908c12