encoding/json: add test for Unmarshal of malformed data

Roll back CL making primitive type unmarshal faster,
because it broke the Unmarshal of malformed data.

Add benchmarks for unmarshal of primitive types.

Update issue 3949.

R=golang-dev, bradfitz
CC=golang-dev
https://codereview.appspot.com/7228061