Fixes #27: Changed the flake design to be modular. Flake now consists of several components which can be signalled to start and stop. We use this to synchronize various activities.
Also fixes #30. Scale down notification is now sent before the terminate signal is sent to the flake.
Also fixes #31. Kill transition is now similar to other transisions. Archiving is done in the postTransition step.