Refactored namespace wrapping into two functions.
Updated WrapperGenerator unit tests.
Wrapper generator handles classes as scopes.
Merge branch 'class-wrapper' into dev