comments
make Def extractor aware of consts
hash indices to speed up globalDefs management
rebuild indices on external modification
minor cleanup
traverse defs in correct order during transform
updating objects with undefined contents is ok
prevent cyclic rewrites
some more unit tests