Backport twig support to D7.

This does not modify any files it only adds TDF and Twig libraries
and the twig.engine file in the core directory next to phptal