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

...t
I guess because hibernate will still flush it right? I would assume we either add the default locale automatically or just fail with an exception that way hibernate flushes nothing