Add docstrings to TokenAnalyser.on_* token signals
Rewrite TokenAnalyser.emit
Prefix TokenAnalyser.generate_tokens with _