title: CMIS session.queryObjects doesn't return aspects
body: <p>I have a couple test functions I've written to illustrate a problem (or at least some behavior that I don't understand).  I am just doing some basic CMIS queries on an Alfresco 4.2.e community repository, but am getting some unexpected results depending on whether I use session.query() or session.queryObjects().  Specifically, the queryObjects doesn't return properties for custom aspects.  Both return the relationships/associations fine.  Am I doing something wrong, or is this a bug?  I'm using opencmis 0.10, and the CMIS 1.1 URL.</p>
  
  <pre><code>private static Collection&lt;Document&gt; testCmisObjectQuery(Session session) {
      List&lt;Document&gt; rv = new LinkedList&lt;&gt;();
      OperationContext opCon = session.createOperationContext();
      opCon.setLoadSecondaryTypeProperties(true);
      opCon.setIncludeRelationships(IncludeRelationships.BOTH);
  
      ItemIterable&lt;CmisObject&gt; cmisObjs = 
              session.queryObjects("D:af:insuringFormInstance", null, false, opCon);
      for (CmisObject o : cmisObjs) {
          Document d = (Document) o;
          rv.add(d);
          printDocProps(d);
      }
      return rv;
  }
  
  private static Collection&lt;Document&gt; testCmisQuery(Session session) {
      List&lt;Document&gt; rv = new LinkedList&lt;&gt;();
      String queryString = "SELECT cmis:objectId FROM af:insuringFormInstance";
      OperationContext opCon = session.createOperationContext();
      opCon.setIncludeRelationships(IncludeRelationships.SOURCE);
      ItemIterable&lt;QueryResult&gt; results = session.query(queryString, false);
      for (QueryResult qResult : results) {
          String objectId = qResult.getPropertyValueByQueryName("cmis:objectId");
          Document doc = (Document)   session.getObject(session.createObjectId(objectId),opCon);
          printDocProps(doc);
          rv.add(doc);
      }
      return rv;
  }
  </code></pre>