When a development environment is under a proxy, tox is failed even if
environment variables of the proxy are set.
This patch fixes this problem.
* move main files into the top of the tree;
* move examples into examples folder;
* support new structure in run_test.sh and setup.py.
* update gitignore files to support run_test.sh;
* compatibility with openstack-gates;
* compatibility with standard pip installation via git+https.