Moved all the parts into the plugin.
Cleanup needed for non-Rst stuff.
Good enough to cleanup the .vimrc though.