X-CSIT: a toolkit for simulating 2D pixel detectors. (22nd April 2015)