OAK-1133: Observation listener PLUS
Optimise composite filters for the case of 0 or 1

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1545961 13f79535-47bb-0310-9956-ffa450edef68