[Olena-patches] milena r1560: make save pgm work on graylevels. document pnm::save