cmdmain: set flagset output to cmdmain.Stderr

Default flag output only goes to cmdmain.Stderr when >= Go 1.2

Change-Id: Id2358b4c22b76901ceb834695d54e32f7c2d7013
camput: set os.Args from env.Run.args before test's cmdmain.Main runs

Not required now, but will be for future tests.

Change-Id: I50c469d4f4fa589494036f306c25fe60914fb902
camput: move debug flag registration to its own func, for use by tests later.

Also, don't call TransportForConfig on client when we're in blobdir mode.
Avoids a warning.

Change-Id: I5d618b7ab7d701b4c9d9086c8adedef7b447f62b
pkg/tests: Warn about deprecation of asserts.* functions in pkg description.

Change-Id: I39e158a92a6f4fa6f3f93551985d9d20ad40c98f
camput: don't show HTTP req stats when not using HTTP

Change-Id: I4d0c0dc44de84fe62f3ee2385bcd3875eb27be97
camput: configurable timeout on env

Change-Id: Iffd0b404e48e4fd5235c22bdd00ad22c564fb0a0
camput: add a var for uploadWorkers

Change-Id: I529336ece16a35e25c33960589f706ebf8b2c5ec
camput: start of a deadlock test

Currently disabled until it's working reliably. See comments in code.

Much of this is from Tamás Gulácsi in https://camlistore-review.googlesource.com/#/c/2128/

Change-Id: I2fe2abfdee98584c698a2ac52202f13dda9beef2
Merge branch 'master' of https://camlistore.googlesource.com/camlistore