[Core] Fix project loading issue

Fixes bug which caused MonoDevelop to refuse to load a project that
has its project type guid specified inside the project file's element.

Based on a patch by Shay Rojansky.
[Core] Specify project type guid in a test project

This tests that project loading works when only the project
type guid is specified in the ProjectTypeGuid element.