add editBoluses function to preprocess

editBoluses accomplishes two things:
- change `extended` to false when `extendedDelivery` is zero because these boluses should be visualized just like normal, non-extended boluses
- populate the `recommended` field for a bolus from a joined wizard event, if one is available

@cheddar, have a look.