Add fallbackLocale, handle locale hierarchy, add useful helper functions