script to wait ambari-server to be in a state when ambari-shell can connect
debug() function can be switched off by  DEBUG=0
amb-wait-for function migrated into ambari-functions
amb-shell function added