Added the mode treatement. The interface is simply through
the task parameter structure. A manager task is automatically
created. The implemented protocol waits for the exiting tasks
to exit before activating the new ones. Different protocols
are possible, but at least a new mode manager task is needed.