Adds support for local node CompoundExpressions (which local node treats as case sensitive, so we break them down to their MatchExpressions to work around this)


git-svn-id: https://svn.calendarserver.org/repository/calendarserver@13475 e27351fd-9f3e-4f54-a53b-843176b1656c
Eliminate a superfluous CompoundExpression if there is only one search token


git-svn-id: https://svn.calendarserver.org/repository/calendarserver@13476 e27351fd-9f3e-4f54-a53b-843176b1656c