ticket:357 use codecs to write xml to file
ticket:357 added errors counter to update_full_metadata_cache command
Merge branch 't357_xml_should_be_always_keep_as_utf8'
ticket:356 used multiprocessing for update_full_metadata_cache
Merge branch 't356_speed_up_update_full_metadata_cache_by_using_multiple_cores'