added TWIG_DIR constant, deprecates TWIG_VERSION

... to support latest twig naming conventions.