Switch to use href instead of uid in system event messages. The uid is inadequate in the case of in/outbox

Update the handling of jmx message header attributes. Make it easier to add new ones and make it more obvious where they come from.

Related: use the indexable attribute to reduce the flow of messages to the indexer.

Add a test mode which indexes immediately then delays - bad for performance but may make the Cyrus test work better.

Simplify the svc api a little - more assumptions over which principal is in effect.

Handle date ranges correctly in ES searches - had start/end reversed.

Do better checking for owner/public. Only required if there's no collection supplied.

Try to do a better job of unindexing recurring. Still seeing conflicts - made them less noisy for the time being.

Wasn't handling date (v date-time) values correctly in ES.