3355 with empty navigation on works and bookmarks indexes

There were some empty navigation elements because the logic didn't take cover the containing elements (works, logged out bookmarks) or was faulty on the internal elements (logged in bookmarks, Bookmark External Work was not displayed)

http://code.google.com/p/otwarchive/issues/detail?id=3355