Forked from http://community.elgg.org/plugins/384980/2.0/importexport-site-and-plugin-settings