fixed libpng version reader. I believe works for usual pngs
not finished watershed implementation. compiles.

- added cmn/point
- added cmn/rect