Add xraylib-calibrate script
Calibration object and detector factory