subtests.docker_cli: Add the `docker wait` test

Hi guys,

this pull request contains one new framework method in `dockertest.dockercmd`, and the new `docker wait` test. Please find the details in commit messages.

Regards,
Lukáš