Fix Cycle cache expiration and other issues

* Add CycleTaskGroupObject.object to fix cache expiration
* Add Cycle.is_current attribute

(Two independent features, but both require migrations, hence both on the same branch.)