Java api: fixed inconsistencies in PercolateRequest, added return type for method chaining where missing

Closes #7294