Added CHDK support

With this it is now possible to trigger CHDK to take a picture on layer change, with the M240 function.

See more about it here: http://captain-slow.dk/2014/03/09/3d-printing-timelapses/