Improve DockerHubImage factory methods
Summary:
Allow to specify or not an HTTP client to the TriggerBuild
factory method. Force them for trigger. Document parameters.
This is a follow-up for 1f7ac8349.
Reviewers: dereckson
Differential Revision: https://devcentral.nasqueron.org/D648