DRILL-640: Fix memory leak in limit operator
DRILL-577: Two way implicit casts
DRILL-584: Fix implicit casts in ExpressionTreeMaterializer to not match with a DrillFuncHolder where there isn't an exact implementation available.