Add Module support to AST
error reporting code shot as requested
fix up self-reference to always include binding
get serious about subranges
handle custom bindings in frames properly
propagate bindings in 'extends' expansion
prepare for staged safescope
regions
build safescope from boot scope and prim modules