Splitted Circuit class into LogicCircuit and ScriptedCircuit
Added add scripted circuit menu option.
Added scripted subcircuit number of inputs and number of outputs attributes.