Formating code and adding vim command

I've been formatting the code and added a vim command to make patching more easy.  Please merge if you like it.  My goal is to merge it with [this modification](http://sysadminnotebook.blogspot.be/2011/06/xenserver-backup-solution.html#more) without changing your code to hard.