task_state must be consider before many action

* Creating server status wait function for using with
  xml and json status wait.
* Considering fast status changes for BUILD status related tests.
  BUILD status wait can be useful when the server does
  not really need to be active for the test and we do not want to
  fail because the server reached the ACTIVE state before responding
  to the status query, due to rate limitation or for other reasons.
* Moving the wait function to new module, which could be used for
  collecting all wait related functionality.

  Fixing bug 1170118

Change-Id: Ie301124952412dab2b11a92a25ee54c633d08eeb
diff --git a/etc/tempest.conf.sample b/etc/tempest.conf.sample
index 8d96858..64bd8c3 100644
--- a/etc/tempest.conf.sample
+++ b/etc/tempest.conf.sample
@@ -119,6 +119,10 @@
 # Number of seconds to wait to authenticate to an instance
 ssh_timeout = 300
 
+# Additinal wait time for clean state, when there is
+# no OS-EXT-STS extension availiable
+ready_wait = 0
+
 # Number of seconds to wait for output from ssh channel
 ssh_channel_timeout = 60