Fix for issues 72 and 86

When traits were added, somewhere the word 'interfaces' remained during
copy paste, instead of 'traits'.
Also the variable fqnn is added, and [@namespace=$parent_name] is changed
into [@namespace=$fqnn] in template match="namespace" mode="sidebar-nav".
This way the links for classes, interfaces and constants will show up in
the sidebar.