Improve build logic for unsupported projects

When building a solution that contains unsupported projects, skip those
unsupported projects unless they are explicitly referenced by other
projects that are buildable.

Fixes bug 19579 - Xamarin Studio no longer silently accepts builds with
Windows Phone projects