Move spelling compound words code to languagetool-core