AMBARI-1294. Add 'isEmpty' and 'in' query operators to API. Added missing tests from previous commit. 

git-svn-id: https://svn.apache.org/repos/asf/incubator/ambari/trunk@1441533 13f79535-47bb-0310-9956-ffa450edef68