wait for ports to be listening before starting tests
Merge pull request #37 from scrapinghub/waitport

[MRG] wait for ports to be listening before starting tests