Merged dmfusion and fixed compile errors

Hi Simon,
Here are the changes I made to compile everything. I mainly had to change the names of some header files like imagefile.h to image_io.h, meshtools.h to mesh_tools.h etc. I had to add -lreadline to one of the makefiles. I added the dmfusion project into the repo because I needed to run it. This required changes in names of headers as above and also needed to fix the name of embeddings: depth-L0 to depth-L1 or something like that. Feel free to merge whatever you like and send me comments if I have broken something.
Thanks for sharing the code.