MsBuild: Provide scripts to store build information for later use

In order to be able to deploy from the same revision as the current build we need the current build to gather certain information that provides the ability to restore a workspace. This information is:

* VCS revision
* VCS branch