backup pre v2 templates improvement

backup pre v2 templates on plugin install and use that backup as base
for cleanup and update
improved copy template
strict standards fix