[Core] Allow a Condition to be set for an MSBuild Import.

A condition specified in the call DotNetProject.AddImportIfMissing(..)
will now be saved in the MSBuild project file. This allows imports to
be conditional.

One use is for NuGet packages that define a custom MSBuild targets
file and allows the targets file to be conditionally imported if the
file exists.

<Import
  Project="packages\Xamarin.Forms\Xamarin.Forms.targets"
  Condition="Exists('packages\Xamarin.Forms\Xamarin.Forms.targets')"/>

Using the Exists check allows Visual Studio to open the project when
the package is missing and has not yet been restored.
[NuGet] Add Condition to an Import added by a NuGet package.

If a NuGet package adds an import for a custom MSBuild .targets or
.props file then these are added to the project file with a Condition
attribute that checks that the file exists.

<Import
 Project="packages\Xamarin.Forms.1.1.0\build\net45\Xamarin.Forms.targets"
 Condition="Exists('packages\Xamarin.Forms.1.1.0\build\net45\Xamarin.Forms.targets')" />

If this check is not added then Visual Studio will not be able to load
the project if the NuGet packages are not restored.
Merge branch 'master' into msbuild-import-conditions

Conflicts:
	main/src/core/MonoDevelop.Core/MonoDevelop.Core.csproj
[Icons] [MonoDevelop.Ide] Spinners
See https://github.com/xamarin/icons/issues/78
Merge pull request #596 from mono/msbuild-import-conditions

Allow a Condition to be set for an MSBuild Import
[NuGet] Fixed failing test on Mac

Test was missing a conversion to a native file path.
[Mac] Fix focus issues when using context menu

Fixes bug #20656 - Regression in file/directory renaming in the Solution Tree
Updated references to xwt, md-addins
[MSBuild] Fix getting project references on .NET
[Ide] Fix error cleanup issue

When there is an unexpected exception building a project the object source
(the solution) was not set, so the error was not cleared when closing
the solution.

Fixes bug #20687 - The error message should be cleared when we close a solution
[Ide] Fix stock icon loading issue

Don't preload stock icons until all icons have been defined.
[Ide] Fix icons in find in files dialog

Fixes bug #20041 - Incorrect size of icons
[Ide] Fixing disabled OSX ContextMenus in Modal dialogs(Bug 20683)
Merge pull request #598 from DavidKarlas/bug20683m

[Ide] Fixing disabled OSX ContextMenus in Modal dialogs(Bug 20683)
[Ide] Fix crash when opening context menu

... when using the keyboard shortcut.
[Mac] Properly enable/disable menu items
[Mac] Fix previous commit
Updated reference to md-addins
[Ide] Fix minor assembly resolution issue

Use the active configuration when getting the referenced assemblies to be used
for code completion.
[Ide] Add support for cross-toolkit images

Xwt.Drawing.Image objects can now reference native images from different
toolkits. For example, a single Image object can contain a reference
to a Gdk.Pixbuf and an NSImage. The goal is to be able to use a single
object instance to represent an image that can be rendered in any
supported toolkit.

ImageService now loads the icons using a special api that allows
specifying the image source. This source will be used to load
platform-specific images on demand.