implement full text-match spec for caldav and carddav
cleanup text-match