Added flags in UI.

Improved flags management.
Fixed failing behat tests.
Removed flag when locale does not contain region.
Added flag mapping for locales without region.
Fixed behat tests due to changes in views.