ticket:385 added CGHUB_DOWNLOAD_SERVER variable to settings
Merge branch 't385_using_solr_api_causes_work_URI_to_be_encoded_in_data_XML'
ticket:386 break metadata transmissin on error
Merge branch 't386_error_writing_full_metadata_cache_not_report_to_user'