impl. of glossary/term and option role/directive

Implementation of glossary and other Sphinx directives.