lots of changes, among them support for custom response curve and weighting function, deghosting
Changed some structure things to account for other changes
Merged hdr and HDRComplete