fix for switchbuf+=useopen

Temporarily resets the 'switchbuf' option so the buffer gets
opened in a new tab.
Merge pull request #1 from kljohann/master

Fix for switchbuf=useopen