see #210
Build the tab list on backend, independent of the template that includes them.
This ensures consistency between page transitions and avoids linking to pages
resulting in 404.
This commit also opens the "Version History" page for everyone, to make it
consistent with the logic that shows approval queue detail page to everyone.