fix TOC toggle getting wrapped in some browsers
separate nav icons from text with css, not spaces

This eliminates the ugly extra underline between the icon and the text
on hover.
Make perltidy consistent with api repo

to reduce my annoyance level
Try to determine best available canonical url
fix pod flowing around right bar
Use distribution urls for latest versions in template

If not in 02packages, use distribution for a canonical url
(instead of version-specific).
Removes extraneous </div>
If file doesn't have pod link to source

Search results that link to pm files with no pod
just show a pod error (so link to source instead).
Change file/pod links on release page to use macros
Merge pull request #1103 from zoffixznet/fix/extra-div

Removes extraneous </div>
Merge pull request #1082 from haarg/fix-toc-wrap

fix TOC toggle getting wrapped in some browsers
Merge pull request #1083 from haarg/tools-icons-spacing

separate nav icons from text with css, not spaces
Merge pull request #1102 from haarg/pod-flow-fix-1101

fix pod flowing around right bar
Also check if file has pod_lines to determine best link

refs #1105.
Link to 'Favorites not displaying on author page' issue
Final part of the fix #1069
fix extra space after icons in right bar items
Fix #1106 - now link to correct version of API docs
Move lab/favs into account/favorite/list

Used the existing API::Favourite instead of the API::Lab one
Comment out links to account/favorite/list as CSS broken