Do template validation during creation

During create we should handle exceptions same as for template
validation. This change will allow correct display of mistakes in a
template after a failed create attempt.

Change-Id: I55c5197533a25c93c5c61953a05c2276ada52fc1
Closes-Bug: #1363093
Merge "Do template validation during creation"