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

This fixes the quality regression on OS X.

--HG--
extra : rebase_source : f045caa95800d05098ea49e05fe90fc933f8849f