Basic semi-untested support for reading PNM files.
Update makefile with commands for test-readimage.