(Issue 369) Rather than wait timeout, wait until MQ processing finishes
(Issue 369) Wait for MQ to empty in searchRefreshed. Also delay after refresh command.
Forcing reset of activity configuration to defaults after each test.
Merge branch 'master' into issue-369

Conflicts:
	node_modules/oae-activity/lib/test/util.js
	node_modules/oae-search/lib/test/util.js
	node_modules/oae-util/lib/mq.js
Synchronizing many race conditions:

* Give MQ ability to notify when local queue is empty
* Emit event when local config refreshed
* Emit event when local auth strategies refreshed
* Resolve issue with out-of-order indexing operations
Remove notion of 'COLLECT_DELAY'
Remove search and activity delays
Changes from self-review
More code clean-up from review
Fixing race condition in file cleaner
Review: avoid listener leak, emit refreshedStrategies for user tenants not global
Fix refreshedStrategies event parameter to be tenant object
Merge pull request #369 from mrvisser/issue-369

Look at intermittently failing tests