Try up to 20 random ports if necessary
allow a custom function for the launch.browser parameter
Merge pull request #252 from jcheng5/random-ports2

Try up to 20 random ports if necessary