Test also the portrait api (exploit the fact that we are already creating bogus users), move helper procs to the beginning so they can be found by the testing machinery
util::http performance improvements: - cache util::http::available as namespace variable, as in the worst case it would go to the db - replace array idioms with dict idioms
procdoc change: Preserve pre-existing values, e.g. from testcases, which might be loaded in a different order (testcase might be loaded before proc).CVS: ----------------------------------------------------------------------