txtinfo: move code from olsr_txtinfo into olsr_plugin