time.sleep replaced with eventlet.sleep

Change-Id: Ib0757605fc3ae7f5dea34f291e0bfd5107beca9c
Keystone removed from the global variables and added it to the class

Change-Id: Id220c98a33579e4f7c3ab50f53bf14f57bdd492c
Fixes: bug #1173076
Merge "time.sleep replaced with eventlet.sleep"