fixed error in trait, added declaration for constants, update of global namespace constant (from dash[-] to backslash[\])
added test for multiple namespaces in one file without curly braces
move function declaration to namespace (scope-)level
added checkt to see if code is inside a function (or a method), needed for param and variable scope in declarations. Updated the tests to use the new declaraions
removed closure test, is already covered/not supported
update of test file for fixed bug in trait precedence
removed commented lines, which are no longer needed.
removed backslash for global namespace and changed innerbackslash to double colon ::
update of test code
fixed :: in test files
removed dashes from scope info
Merge remote-tracking branch 'upstream-cwi-swat/master'
added declaration test for decls inside condition statements
++ are also include in variable declarations (they are created if they do not exist yet). Also added tests for them
added static variables to declarations + added tests for it
update of namespace resolve visitor test
renamed to Rascal/AST2RascalNameResolverTest.php
Merge pull request #6 from ruudvanderweijde/master

Update of declarations