Merge branch 'master' into hotfix
document.get_encoding(): Reads the entire file.
Merge branch 'hotfix'
Bumps version to 0.10.5.