Moving this out into a plugin; hopefully one that will work with RM
Created by: kenrestivo
After more experience with Hubzilla plugins, I understand how I can do all this from a plugin, it doesn't need to be polluting the API namespace.
Also, I'd rather have it as a plugin, since the export will need to happen from RM and ideally the plugin can work on both.