Fixed issue with the mainmenu checkbox, now it check if it is set in db, when chosing a page to edit.

Signed-off-by: NinjaAlienCow <sofus@markus.dk>
Added a color for chosen on doc-navigation in cms
visiting link stayes highlighted (there might be a different way of doing this, wich makes the code more compreheseble)
added flags to the CMS-navigation
Just a little change visual change that i dint commint last time