Fixes a problem in 2014.1 where context can be a jinja2.runtime.Context and not a dictionary. 2014.1 also no longer stores the sls name in the sls argument, but it can be found in mods.

Alternatively, if the sls name and template path could be added to the context, this would be a whole lot easier.
Merge pull request #10009 from bigkraig/defaults-fix

Fixing defaults.py for 2014.1rc3