Fix comparison of possible uninitialized values
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
Fix IE8 error on web admin users page

The 'class' attribute is a reserved word that must be quoted under IE8.
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
Web admin: fix JavaScript issues with IE
Don't initialize hidden multiple-value selects

Fixes #1759