Utility library for use in Sails adapters  where you need to filter a list of output using a criteria object