Allow passing view to viewTemplate smarty helper
Include testing view param for viewTemplate
Rename file param to name
Merge pull request #1303 from tomaszdurka/issue-1303

BREAKING: Allow to pass view to viewTemplate function