Merge NRefactory changes from SharpDevelop repository.

* ITypeDefinition.IsPartial
* Script.AddTo() overload for adding a member to a type definition