change VariableDeclaration to GVariableDeclaration for global variables
add VariableDeclaration for local declarations
add some codeGen for several nodes
fix test_parser for above changes