add ability to add twig extensions via configuration

including documentation