fixed bug in getMessage when requested locale is not present. fixed #327

only returning undefined if label is undefined.

added getLocale() helper.