Add missing XML declarations, update some to include the encoding

This change helps some IDEs which check for an XML declaration identify XML files for editing.