add support for creating line corpus from file corpus
add ASSERT_APPROX_EQUAL to unit tests and use where applicable
Fix issue with writing strings in io::compressed_file_writer.

Problem was only apparent when writing utf8 strings that contain non-ASCII
characters.
Merge branch 'develop' into icu