"version" section should be required in template

Adding the version checking to keep place with heat.

Change-Id: Ib2f0b55c3c9e8b0a8f26e972b37a979d8d703f7c
Closes-Bug: #1273980
Expand get_file using to template scope

So we can use get_file in outputs section and parameters section
except resources section. For example, we can use get_file to set
default value for some parameters.

Closes-Bug: #1284493
Change-Id: If584ea108b437c28713925af68691c019e64e1fc
Merge ""version" section should be required in template"
Merge "Expand get_file using to template scope"