Added getDefault function

Added a convenient function to quickly get the default language. For
example, the current language may not have the necessary resources (such
as a PO file), in which case we need to fall back on a default one for
that resource.