Merge pull request #12 from jjgod/master

Fix reading files with very long lines
Fix 'Fix reading files with very long lines'

Should have closed string buffer when not enough amount of text is read.
Fix typo in enum

OPENCC_ERROR_ENCODIND -> OPENCC_ERROR_ENCODING