Split installCBInit in multiple files and refactor.

This patch adds support for installing git in instances and splits up
installCBInit.ps1 into sysprep.ps1 and the current installation script.