[AUTOTEST] Update setup_dev_autotest.sh for Z620's

setup_dev_autotest.sh failed on my machine when it tried to build
external packages, namely numpy and scipy. Therefore I added them
to the apt-get package list.

Also the grant command no longer worked for chromesqa-admin. I
changed the host name from % to localhost for these privileges.

After these sets of changes the script works.

BUG=chromium-os:34235
TEST=Script now properly sets up dev autotest server on my machine.

Change-Id: I0a8146f1cffa8c00055fa889e4b439ee53576d45
Reviewed-on: https://gerrit.chromium.org/gerrit/32557
Reviewed-by: Alex Miller <milleral@chromium.org>
Reviewed-by: Simran Basi <sbasi@google.com>
Tested-by: Simran Basi <sbasi@google.com>
Commit-Ready: Simran Basi <sbasi@google.com>
diff --git a/site_utils/setup_dev_autotest.sh b/site_utils/setup_dev_autotest.sh
index f50b561..b85f285 100755
--- a/site_utils/setup_dev_autotest.sh
+++ b/site_utils/setup_dev_autotest.sh
@@ -98,7 +98,8 @@
 PKG_LIST="mysql-server mysql-common libapache2-mod-python python-mysqldb \
 gnuplot apache2-mpm-prefork unzip python-imaging libpng12-dev libfreetype6-dev \
 sqlite3 python-pysqlite2 git-core pbzip2 openjdk-6-jre openjdk-6-jdk \
-python-crypto  python-dev subversion build-essential python-setuptools"
+python-crypto  python-dev subversion build-essential python-setuptools \
+python-numpy python-scipy"
 
 if ! sudo apt-get install -y ${PKG_LIST}; then
   echo "Could not install packages: $?"
@@ -134,7 +135,7 @@
 SQL_COMMAND="drop database if exists chromeos_autotest_db; \
 create database chromeos_autotest_db; \
 grant all privileges on chromeos_autotest_db.* TO \
-'chromeosqa-admin'@'%' identified by '${PASSWD}'; \
+'chromeosqa-admin'@'localhost' identified by '${PASSWD}'; \
 FLUSH PRIVILEGES;"
 
 set -e