Proper tree shaking algorithm; transformer fixes

- Tree shaking now creates dependency graph
- Transformer now marks function expressions as first class always
Fix for function contexts missing lexical lookups