Refactor template code in preview.html
Refactor template code in preview.html

This commit makes template renderer call __str__ method
of an isntance of TargetURL to get its value, instead
of accessing the value property explicitly.

piotr-rusin/url-shortener,piotr-rusin/url-shortener