Changed sequence of stub responses to circular buffer.

I think this better solves the common case (user passes only one
stub, but path may be called twice - we want the same stub in both
cases), and allows for the complicated path (long sequence of stubs)
by allowing user to pass in the whole sequence.
Removed hard-coded parameter name from requireValidPorts validation.