Fix warning about check new class instance without write current namespace before class name

- implement

- added tests
Merge pull request #127 from zaets28rus/new_instance_without_current_namespace

Allow to create new class without write current namespace before class