Exporting templates

Exporting a template allows users to share their hard work in creating these templates with the Cacti community. The export mechanism only exports the graph, device, or data template definitions, but not the scripts that are necessary for some of the data input methods. SNMP-based templates do not need scripts, so these are complete.