Miscellaneous.py fixes: get rid of unused imports, add re import, comments
comment changes in Miscellaneous.py, delete newlines at end of GrammarRuleTest.py