Add policy_get_policy_keys()
Fix handling of duration_text in signconf_export()
Implement policy export, still some TODO.