Moved closure capturing from VariableAccess and FunctionCall to VariableDecl, removing a lot of duplicate code
Merge pull request #609 from shamanas/master

Moved closure capturing from VariableAccess and FunctionCall to VariableDecl, removes a lot of duplicate code