Imrpoved support for requesting file write permissions

Permissions can now be requested for a set of files.
The Ide now will warn the user when trying to write over readonly files.
Fixes bug 12436 - Xamarin Studio deleted project when it failed to add to
source control