When running "wait-for-mysql.sh", the "echo 'show tables' | manage.py dbshell" command is always considered a success, even if the database is unreachable ($? == 0). So we replace this command by a global system check. This closes #3.