User Agent and babun check issues

Hi
This is a fix for issue https://github.com/babun/babun/issues/138
I also took liberty of adding  vim temp files to .gitignore.
I don't know if this is a best solution. It is something like a duct-tape fix more than anything.
But this helps when working behind draconian proxy.

Best regards
Dominik