removed some warnings
gossip.h: add some missing prototypes (incomplete)
gossip: application_msg_handler might need msg src
leader: added some first leader election code