Change cursor appply method to support mongo driver 1.4.0. Refs #126 #105