Fixed cms.utils.i18n.get_languages failing due to missing default

Also ensure that get_settings('LANGUAGES') has a useful 'default' key
Added tests for CMS_LANGUAGES without a 'default' key