fixed use after free

* do not destroy meta-lambdas in Scope desctructor
working towards new optimizer
wip: tuning dce and uce
wip
bug fixes
preformance fix
removed primop: leave
hash values are now cached
added C++11 override
clean up
clean up
Merge branch 'lazy_rebuild'