Improve Update-Unity3DReferences.

+ Iterate over Reference items returned from the evaluated project, not
  from the XML.
+ Remove the HintPath metadata if ReferencePath is used.
Check in the result of running Update-Unity3DReferences.
Add a stronger dependency on UnityEngine for testing.

This makes it easier to test what happens if ReferencePath is used, but
removed.