Added clone function and test for cloning provisioning template.

Few docstrings updates.
Merge pull request #1632 from kbidarkar/clone-template

Added clone function and test for cloning provisioning template.