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.