fix bug 647796 - shorter locales

https://bugzilla.mozilla.org/show_bug.cgi?id=647796

To spot-check I:

1.  Made Latvian (lv) my primary language
2.  Added "lang_url_map['lv'] = 'fr'"
3.  Went to MDN, was redirect to /fr/