Bugfix/app not found

Fixing the "app" variable not found in templates. Bug introduced by the changes in Twig globals loading in Symfony 2.1.5 so the fix also contains minimum Symfony version requirement.