Adds write_sequence_file, add_features_to_record_from_blast_results functions. Fixes off-by-one error in parse_blast_results_xml.