t660: add unique constraints to variable template
#660 added Kai's remove duplicate variable_template entry script
t660 Fixed issue where None answers were not given to the template functions
#660 Fixed bug which would remove last <br> even if the user entered it. Now when the text block is saved extra new lines will be retained if the user added them, and editor inserted extras are removed. Updated our formatting so the text block editor doesn't look like its formatting is double spaced. Updated the text-angular definition to not use the buggy ta-default-wrap attribute; this means that using Chrome to edit text blocks should work much better. Updated tag processing to accept the <p> wrapping since no ta-default-wrap means all lines are wrapped in <p>; the editor is not consistant in this and a <br> can be found before the end of the <p> so tag processing takes this into account.
Merge branch 't660' into resolved