more refactor towards generic registration system. test passing

supports `events` array property on config now, which should provide for
more flexible registration logic.
refactored add_regimes transition.

removed add_regimes transition in favor of processing during
registration. one less transition.

added test/functional/schedule.js