Java: compound ($and/$or) type queries when finding data objs

Summary:
* Introduce method FindDataObjectsRequestBuilder.withTypes
* Extract function serializeCompoundQuery

Test Plan: Unit tests. All existing and new tests passed.

Reviewers: pnguyen

Reviewed By: pnguyen

Differential Revision: https://phabricator.dnanexus.com/D158