Moved the PingCursor logic into a plugin.

I did this so that others could use it without having to simply copy the code
into their vimrc or use my entire vimrc.