Fix several problems which avoid blendcalendar/range fetch to use the group_by parameter (wich is still "day" by default, and can now take "linear")