provision/local: added method to wait an specific container state.

Related to #398.
provison/local: using waitUntil before setup.

Closes #398.