Specify arguments to sed in a way that works with GNU sed.
Add a timeout to system call in vimscript.

This prevents VIM from being frozen when a command hangs (likely due to the Python
process not running.)
Handle non-*nixes better
Handle trailing newline on uname
Merge pull request #1 from bassnode/fixes-and-timeouts

Fixes and timeouts