Move generate of selfservicelinks to an helper function.

Create variable to template wether a term is top term.
Only show divs if view is not empty.
Some minor mods to panels and taxonomy panels.