fixes #1646, #3103 - enable cloning for templates, and add read-only options

```ruby
validate :changes, :if => lambda { |template| template.locked? || template.locked_changed? }
```

And remove the early return on ```changes_when_template_is_locked```.