engine-rest - exposed the underlying ability to query by process instance ids list

engine-rest - exposed the underlying ability to query by process instance ids list