Fixed incorrect reassignment of dict variable to list in edan_to_dpla.transform_type
Tidied up some conditionals
Improved edan_to_dpla to handle flaky / varied data
Fixed and added edan_to_dpla tests