time: add ParseDuration.

R=rsc, r, r
CC=golang-dev
https://golang.org/cl/5489111
2 files changed