Remove limitation for '.twig' file extension

Makes the use of the Twig Extension work for templates with any filename, not oly those which end with '.twig'.
Merge pull request #28 from Mashkin/master

Remove limitation for templates with '.twig' file extension