[files/vim] Check for trailing dot.

I usually open new files that end with a dot because I hit tab then
enter quickly at the command line, and there is another file that exists
with the same name as the file I want to edit except for the extension,
e.g. onchange.c and onchange.1.

This commit also incorporates checking for wheter vundle is initialised
nicely.