Add script which can fix the broken commits in this repository

Note the resulting hashes are (of course) different.

However the result can be pushed to github, and if checked out cleanly again, will successfully pass "git fsck".

Have a look at: http://github.com/djs55/xen-api-libs-fixed