dealing with the case summarise(df, diff(z)) from #153
dealing with the case summarise(df, log(z)) from #153
summarise handles constants (#153)
handling special cases in summarise. closes #153