Add non-UTF-8 detector

This new lint check looks for XML files not using UTF-8 as the XML
file encoding. XML allows it, but it's unusual in Android apps and not
all tools handle it correctly.

Change-Id: Ie6c7d0a3a50d72261def3018463b08a5318d69a2
5 files changed