Update mangler for modern
pep8 fix in exception handling
Handle target links in brackets

fixes #9

This was a matter of fixing up the parser. Proving yet again that
parsers and grammars and all that are good things.