QUnit macro: Include curl fetch for headers and html snippet

Should help in trying to determine what could be causing recent
failures.

Change-Id: I7cccdcb6a3afe500c5abbf61b86fc382596e1940