Fixed restore to work correctly with pexpect
Fixed restore to work correctly with pexpect

Fixed an issue with restore where it was failing with the latest
version of pexpect in Ubuntu 14.04.

pexpect attempts to stop the temp mysqld process which fails due to
a difference in privilege level (since the process was run with sudo).
We now use mysqladmin shutdown to stop the temp mysqld process.

Closes-Bug: 1343344

Change-Id: Iba81648bb1654db97de876dd9a0dbfb04b8811d1

zhangg/trove,changsimon/trove,mmasaki/trove,zhujzhuo/openstack-trove,hplustree/trove,redhat-openstack/trove,mmasaki/trove,hplustree/trove,zhujzhuo/openstack-trove,fabian4/trove,cp16net/trove,fabian4/trove,openstack/trove,zhujzhuo/openstack-trove,changsimon/trove,zhangg/trove,redhat-openstack/trove,openstack/trove,cp16net/trove,fabian4/trove,redhat-openstack/trove,mmasaki/trove,cp16net/trove,changsimon/trove