navbar: moved logout to user drop-down and added a new power drop-down
Created by: JoKeyser
This should fix issue #834 (closed). The on/off symbol would get a drop-down menu for restart/shutdown, and the previous logout function can be found in the user drop-down menu (screenshots below). Without JavaScript, the power button links to the existing power page, offering the same choice between restart and shutdown (and the already existing logout-button still appears for easy logout).
(Note I've also cleaned up some of the code style, to match with the style in the same file, above.)