[mr2636] Calendar: implement remove expired events and remap ids on core start