move (most of) ppm usage to opencv functions

The functions for opencv are stubs only (all in tinycv_impl.cc)

I removed the ppm module completely and replaced it with the cv
module. This is highly untested as testing is hard with stubs