Support for {x:Refrence}, Template & Namescope fixes

Support for {x:Reference} by implementing one method of IXamlNameResolver