Added Twig extension and tests
Added gitignore and travis config