Support for different SignalConsumer modes and 3 gates introduced - OR, AND and XOR. For now, the gates cannot be rotated.
Added NAND gate, can be used as a NOT gate for one input connection.