control.sh: Make wait_for_allocated more solid

Only trust a value of "true", and simplify the loop.
Merge pull request #129 from vuntz/simplify-wait_for_allocated

https://github.com/crowbar/barclamp-provisioner/pull/129

Merged by devtool for cloudsleuth