revised validation of language codes

Now will allow validation of either iso639-1 or iso639-2 language codes,
with iso639-2 as default if neither is declared in a
conventiondeclaration/abbr