WIP example file: controlled_attractor
Removed redundant 'n' param of Constant constructr
added simulator.register_handler decorator
More robust simulator main loop

nonlinearities with no input_signal are passed J = None
nonlinearities with input_signal but no bias_signal have it default to 0.
added debug info to exception