image: add Paletted.Set, and a basic test of the concrete image types. R=r CC=golang-dev https://golang.org/cl/4589045