Detect encodings with cchardet which is much faster (with fallback to chardet).
Merge branch 'roman/cchardet' into stable