Refactor and simplify bash scripts

Simplifies run.sh by
- moving all common methods to functions.bash
- sharing the generate_settings_file function between run and
  generate-settings-file.sh
- making setting.sh into an executable script so that the
  following works
      source /path/to/my-khaleesi-settings.rc
     ./generate-settings-file.sh icehouse-multi-rhel7.yml

Change-Id: Iaf59ea066c2909393b879a84326c633b69da5bfe
workaround for config_tempest tool

tempest/tools/config_tempest.py requires all images to be deleted
and m1.nano and m1.micro flavors to be present. The workaround
creates those.

Change-Id: I4fdabfc4dfc702cff1a17bba8b4a31b5a262c1f8
Use config_tempest tool to config tempest

Replaces the packstack config_tempest with the upstream
config_tempest script to generate the etc/tempest.conf.

Since the init.pp script is not run, the changeset also
  - installs additional packages
  - installs and creates virtualenv

Change-Id: Ie768d58285a5b7ca20457f1348aae3124a8a0e95
aio: workaround for supporting config_tempest

Change-Id: Ic3521c2633a60a8ad401347e33065d3f9e6416da
tempest: installs dependencies tagged tempest_setup

Change-Id: Iec24aa782f95d5b6ba13f4b97b4fbabaa9fc4a52
settings: adds tempest.repo config variable

Change-Id: I0a9df64cd999efd20dad4eade7b5e3dff1af2a86
runs config_tempest workaround by default

Change-Id: Idfd1f02912a35a1d38f3efce225795f615a3e345
tempest_config: workaround corrected

Change-Id: I02a1e20996e1a8612148943210c2d97dcb0987c2
Moves common tempest tasks to tempest play

Change-Id: Ie28268ba52a2e9a564d16dee70d90cfa998b94ff
tempest: config_tempest.py works against upstream tempest stable/havana

Change-Id: Ic17556b9dbda36095cb5cb53b768a186f1f583ad