Add initial `parseCriteria` helper

This commit adds a basic `parseCriteria` helper method to enable
useage of the `or` operator from the waterline criteria
specification.

cc: @manojt100 
SR-650