Switch install.rdf reader to all-DOM implementation, and add functions for locales
Add whitespace when adding locales
Collect document whitespace settings on load