scripts: Make zotonic start|stop wait on VM ping/pong

'zotonic start' waits until it receives a pong from the Zotonic app (or
a 10 second timeout);

'zotonic stop' waits until it *no longer* receives a pong from the
Zotonic app.

Since 'zotonic restart' just calls stop and start, this fixes #668.