added global Resources directory to Twig template check (fixes #1)