update logmod.py to include pep8 changes to Twiggy

addEmitters function has been obsoleted in Twiggy 0.4 onwards.
Fixing this dependency
Merge remote-tracking branch 'bemehow/master'
Support Twiggy 0.2 and 0.4 APIs