Added a class Signal.

class Signal is signal/slot system. Handles callbacks. Is greatly
inspired from boost::signal, but has much limited functionality in
comparision.