Support for passing variables to snippets in subdirs

Now you can use "include 'some/snippet' with variable".

Since the include tag uses the template name as variable a variable name like 'some/directory' seems (logically) not supported. This change only uses the last name 'directory' as the variable name.