[ticket/12662] Reorganize and modernize the header navbar

https://tracker.phpbb.com/browse/PHPBB3-12662
http://area51.phpbb.com/phpBB/viewtopic.php?f=108&t=45679&start=60

![updated](https://cloud.githubusercontent.com/assets/3015760/3210923/13dcb72a-eef0-11e3-85a3-b553fad8fbda.png)

Logged out
![loggedout](https://cloud.githubusercontent.com/assets/3015760/3208288/085885d2-ee28-11e3-89f8-f733f0dbb24e.png)

PHPBB3-12662
So that it gets executed earlier. It's for IE8. By moving this up, and moving the function break (return) below it, we have responsive link lists in IE8, but not the other functions.

This is required now since extensions will want to add all kinds of links, and IE8 cannot cope with the wideness of it.