Added publish feature

Allowed users to take existing templates, and publish them as surveys.