Reorder parameter lists on the handler provider to provide the Q deferred argument first.

This argument varies much less than the config, so providing it first allows a typical handlerProvider to be set up in advance resulting in less verbose tests which only vary the things they need to.