Add env var version override for packagers.

Fixes bug 1100805.

Change-Id: I8c8ba8610ed2d9093e188c1412e9689314560015
Use revno and git sha for pre-release versioning.

In discussions with ttx and zul, it became clear that the git describe info
for our intra-release case wasn't providing any value and was providing
confusion. Additionally, plain git sha's are not providing enough info.

So, the scheme settled on that breaks the least amount of things and yet
still reduces complexity is:

if pre-version: # server projects
  try:
    use current tag
  except:
    use pre-version+revcount+gitsha
else:
  use git describe | s/-/./

Additionally, we'll use a as a prefix for the revcount, b as the prefix for
the milestone portion of a milestone tag, and rc as the prefix for rc's, so
that for our releases, python version sorting works as expected.

Change-Id: I6f0fe029d225afa8f435bc83216fc144c2402ae0
Enable ZeroMQ tests

ZeroMQ tests were not enabled as the
required library was not installed to
the tox environment. This change will
re-enable zeromq messaging tests for
both local development and jenkins.

Change-Id: Icffbffcb2b83c74f06075d93e1397c5c9b511a67
Remove unused etc/openstack-common.conf.test

This is unused since commit e0f57e92 removed the extensions module.

Change-Id: Ia24d01c42fc9fb2e12eea697d217b30d7d6b2a51
Move logging config options into the log module

We learned a lesson in Nova - it's best to declare and use config
options within a single module if possible. Globally declared and
use config options grow like weeds and it becomes harder to find out
if, where and how individual options are used.

Strangely, in cfg itself, we randomly declare a bunch of logging options
which are only used within the openstack.common.log module - let's move
the options there and remove the CommonConfigOpts class before they
become part of the API we commit to when oslo-config is released.

A minor detail in the patch - the logfile and logdir options are already
deprecated in favour of log_file and log_dir, but we never got around to
removing all other traces of the deprecated options.

Change-Id: I3913ea54465658d93dc56e014dfe5d911b0541d6
Merge "Add env var version override for packagers."
Merge "Use revno and git sha for pre-release versioning."
Merge "Move logging config options into the log module"
Merge "Enable ZeroMQ tests"