Template get_version breaks with Template object

The get_version method on template expects a dict, breaking
stack preview. This patch modifies StackResource preview
to always call the Template constructor with a dict

Change-Id: I6e75a78b4d496e235f11ec3d94ee58a069ab5336
Closes-bug: #1351005
Merge "Template get_version breaks with Template object"