Fix mutate and summarise to handle idata.frame

This fixes issue #133

This was easier than expected, just check for idata.frame and convert to data.frame if that is the case.  Transform outputs a regular data.frame as well if given a idata.frame.