Refactor config-changes.js, p19. Address review comments.

 - Use ConfigKeeper for plugin.xml
 - Don't write out platform JSON from get_platform_json.
 - Pretty print platform JSON.
 - Use "exports" instead of "package" and "module.exports".