Make namespace resolves in the correct context when collecting class contents.

By closing the temp buffer first (and thus getting back to the original context)
for the GetCurrentNameSpace() call will run with the original buffer's local
variables. This makes tag files added by fugitive work properly.

Fixes #31