HA implementation for RouteFlow

The corresponding changes consist of

RFMonitor implementation that

Monitors all the controllers for failure.
In case of failure elect a new master and inform rfproxy about the new master.
updated rftest1 that has two controllers running as master and slave.

fixes in msgen.py to generate PEP8 conformant code and don't generate unused code.