Made RepositoryItemStream.Close idempotent so that it can be closed multiple times but only doing the cleanup on the first time through.

Avoided double-releasing the file lock on invalid range requests. Now we only release it once.

Henrik
Update all tests in DeploymentManagerTests to use async / await.
Add configuration to maximum number of sites being created by the test when failing in reuse site mode.
Remove multiple calls to get deployments
Update MaxSiteNameIndex in app.config to 1
Waiting for deployment to be in Building status before setting configuration to avoid race condition on settings
Change version to 1.22
Updated build.proj to v1.22
Added governance model link to readme
Fix #465 out-of-memory due to git fetch prompt for cred
Pass the test name to CreateApplication