DATACMNS-399 - Support query prefix to designate repository query methods.

Extended PREFIX regex in PartTree to support the "query" prefix.

Original author: @jiming
Original pull request: #56.