TRUNK-4429: Add check that default locale is amongst allowed locales lis...

...t
- Just compare the locale objects
- The check if propertyValue is not null is sufficient, so you don't have to check if its is not empty