Checkpoint commit; use stack to keep track of parents. Use that to determine scope
Checkpoint commit: correct exclusions
Check point commit. Definitions scope rewrite now works with Reg E and Z
Make tests conform. Fix bugs discovered while writing tests
PEP8 a very ugly file
Merge pull request #160 from cmc333333/definition-scope

Redesign Definitions Scoping