Semantic plugin: correct handling of default values and global variables
Semantic plugin: typos fixed
Semantic plugin: tests refactoring
Semantic plugin: tests for global variables