Add initial `parseCriteria` helper

This commit adds a basic `parseCriteria` helper method to enable
useage of the `or` operator from the waterline criteria
specification.

SR-650