Fixes issue that made subscriptions unusable (SFR-24)

Fixes issue that made subscriptions unusable. Weird it was not noticed long time ago... It also adds lots of server logging and more precise exception reporting.

ES is already returning subscription document ids, so no need to do a second search in CouchBase.java. In fact, the second search was resulting in non existing document IDs....