Turn on some code inspection errors for xaml

Submitting as a PR for @SimonCropp to review.