add Reader#map, Writer#contramap
Merge pull request #91 from xuwei-k/map-contramap

add Reader#map, Writer#contramap