net/http: don't send an automatic Content-Length on a 304 Not Modified

Also start of some test helper unification, long overdue.
I refrained from cleaning up the rest in this CL.

Fixes issue 6157

R=golang-dev, adg
CC=golang-dev
https://codereview.appspot.com/13030043