Relay

- Adds relay block that allows signals through when the state is true and blocks them when the state is false
- creates the state_mixin module that allows for easy subclassing of the state blocks