Prepare for next version
Add config support for a CD monitoring plugin.
Monitor plugins need to communicate with server
Basic implementation of the monitoring plugin.
Check return value of system call
Fix compilation issues for gcc 4.7
Reformat the code
Fix the legacy code for gcc 4.7 as well
Auto-generated files
Add the 'menu' event
Code Formatting changes.

Also removed blocks from case statements. Renamed some variables
and changed their scope (next events / next states).
Fix a missing include for gcc 4.6