Fixed a small bug with `exists()`

The statement was:
if (exists(g:currentmode))

It is now:
if (exists('g:currentmode'))

I also added an entry to the .gitignore file, in order for it to ignore
the /doc/tags/ folder.