Fix redirection when logging in
Fix access reevaluation when editing pending node

The problem was only affecting pending nodes when trying to register or
unregister using the bulk actions menu.
Reevaluate access when changing role of nodes

This fixes changing the role from the bulk actions menu.

Fixes #1757
Allow locales to be defined per portal profile

Moved general.locale to profiles.conf. Also improved the way we detect
the user's prefered languages. The localized templates for violations
must now use one of the supported locales as their suffix. The supported
locales are defined in lib/pf/web/constants.pm.

Conflicts:
	conf/profiles.conf
	html/pfappserver/lib/pfappserver/Form/Portal/Common.pm
	lib/pf/ConfigStore/Profile.pm
	lib/pf/config.pm
	lib/pf/web/constants.pm
Added accuris custom web gui
Locales of portal profiles must be sortable

Conflicts:
	html/pfappserver/root/static/admin/configuration/portal_profile.js
Custom profiles, static files and translations
Fonts for custom profiles
Add files of custom profiles to packetfence.spec
Replace email per username
Improve error messages for custom profiles
Fix CSS of reports page
Add language toggle buttons in custom profiles
Fix JavaScript call in custom templates
Improve language toggle buttons in custom profiles
Improve language toggle buttons in custom profiles
Fixed warning if User-Agent is not define
Fix syntax