use Value instead of Value* in ASTnode
Valgrind #9: fix invalid plugin reads
reduce fn lookup times and fix recursive fndef warning
add generated file