Support for building in firestack/centos

This is mostly an import of patches merged to master with pull request [1]

I have tested this building the packages with firestack on centos 6.3

[1] https://github.com/redhat-openstack/openstack-heat/pull/1