Wait for CloudStack to start

Instead of fixed sleep wait until management server is running on port 8096. The next command connects to http://localhost:8096.