use abs path for cache key
Update environment.py
Update environment.py
if template is not file, use name for cache key
check for if loader does not implement get_source()
better assignment
Merge pull request #332 from SteelyWing/patch-2

Use abs path for cache key