Get rid of next parameter when redirecting to login when permission missing
Removed history links for proxied models
Fix permission code name when model is proxied
Fix apparence of main menu when permissions are missing to view logbook and admin
Display messages in login page too (useful for redirections)
Empty line when object history is empty