Clean up test_shell so that the tests are captured though the test framework.

Also makes a small modification to gitignore.

Change-Id: Iefbfbcfd35270b06ed65edb34708fa9b4d5bf563
Copy cfg and iniparser from oslo-incubator

https://review.openstack.org/20753 introduced tools/install_venv_common.py
but not it's dependencies openstack.common.{cfg,iniparser}

Change-Id: I270a1d8f6fd8f93988a5e2ccbc446adda0a6cd81
Merge "Copy cfg and iniparser from oslo-incubator"