Revert "install script: replace package installation commands for autotest-install-package-deps"

This reverts commit d41d8a31724faea534908f28c920617891b42338.

The procedure outlined at
https://github.com/autotest/autotest/wiki/AutotestServerInstallScript

demands that the server install script is fairly self
contained, since at the beginning, there's still no
autotest clone in place, so the special script doesn't
exist, so no package install whatsoever will take place.

So restore the old code to install packages.

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
install-autotest-server.sh: Update package list

Now that we have autotest-install-packages-deps, we
can call it right after autotest is installed.
This way, we can still ensure that all packages are
current and no sync mistake was made.

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
AfeClient-shell: Fix typo

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
cli: allow username to be passed in

This is necessary for authentication schemes on the backend (LDAP, etc.).

Changes from v1:
 * Fixed unittests

Signed-off-by: Nishanth Aravamudan <nacc@linux.vnet.ibm.com>
cli/autotest-rpc-migrate-host: Fix host migration script

This script was broken - using wrong web_server parameter when calling
frontend.AFE; also added user that can be specified on the command line
and removed the code that deletes the host from original server -
it is easy to do using other means but there are use cases when one
might want to keep it.

Signed-off-by: Julius Gawlas <julius.gawlas@hp.com>