Sort unmangled addresses in the configuration file by frequency.

Fixes #287
Rewrite Group.get_topics to be iterative rather than recursive.

Fixes #284
Make whole script comaptible with python 2.6

How low we fell :(