Adding basic support for traits to the template

Currently, the responsive template doesn't have support for traits.  This will generate the documentation for the Twig version of the template.  Another PR will be coming shortly to add support in the base responsive template as well.