Several changes

* Enhanced params checking in set_params()
* Renamed write_ppm to write_pgm
* Renamed write_ppm6 to write_ppm
* Removed spurious imagesize field in qhy5t_driver struct