implemented Twig setting function
Merge pull request #10 from Rvanlaak/twig-extension

Added settings function to Twig extension
(This PR was squashed before being merged - closes #10.)