Make timeout for retrieve/deploy configurable

Add pollWaitMillis option to configure the time to wait between
polling for retrieve/deploy results.

Add maxPoll option to configure the maximum number of times to poll for
results before timing out.
Merge pull request #5 from cwarden/configurable-timeout

Make timeout for retrieve/deploy configurable