Implement fallback for pusher log messages

If we don't get any pusher messages with log updates after 5 seconds, we
will try to download them from the API.
Don't fetch missing log parts if test haven't started yet
Fix tests syntax
Merge pull request #301 from travis-ci/ps-pusher-timeout

Implement fallback for pusher log messages