Add a --wait-timeout flag for use with the -w flag
The various getcert modes which take a -w flag can now take a maximum
timeout value as well, which will be handy for self-tests. The delay
between polling attempts is increased from 0.1s to 0.125s so that the
math gets a little easier.