Fix for nhif and showing unpaid patients

results_entry: get sex, age, receiptnumber, and receiptType so that I
can judge if patient has paid or not
import_lab_req: remove ifs and save everything except waivers and
excemptions
db_lib.php: on duplicate key, prevent new inserts and duplicates but
update
Plus cleanup
Merge branch 'BLIS-BDH' of https://github.com/ilabafrica/BLIS-Kenya into BLIS-BDH