Pass the ATN through the ATNSerializer prior to creating an interpreter (fixes #403)
Merge pull request #404 from sharwell/fix-403

Pass the ATN through the ATNSerializer prior to creating an interpreter
make public for use for plugins
factor out setting of root so that external tools can reset the tree to get new display. Also allow setting of ruleNames list externally.