Separated languages.py; wildcard cleanup

Icelandic-specific functionality moved to languages.py for further
isolation. Cleaned up wildcard mechanism. Better sorting of results,
i.e. descending order of length and within that ascending lexicographic
order of words.