Fix horizon package install

We need to copy the local_settings.py file over to the packaged location,
similar to what we do for the source install. Otherwise, config changes to
local_settings.py applied by os-apply-config are not actually in effect. We
must also edit the file to adjust the STATIC_ROOT location.

Add a missing "set -o pipefail" as well.

Change-Id: Ibe0df1596238b5b7f15ac75ce751bc7312b67479
Fix incorrect service name on Debian in `add-rule`

On Debian, the iptables-persistent service has been renamed to
netfilter-persistent. The svc-map includes both default, ubuntu,
and debian as ubuntu will "fallback" to debian as they are considered
the same family of distro.

Change-Id: I180a580820015a60ceb2221873a38ebbb06cf953
Migrate heat-api element to svc-map

This patch migrates the heat-api element from map-services to
svc-map by adding a svc-map file and adding the -a option to
os-svc-install script calls.

Change-Id: I66c9e520f04415953ea9cf2ef57e40a7c011d366
Bump hacking to 0.9.x series

Includes minor formatting changes to make the code compatible 
with the new hacking release.

Change-Id: I9e4985efc4f6441bbd3db44075615a6e958d9fe5
Only configure Nova DB connection if it is set

The Nova db connection parameter isn't always required. If
you use the conductor you would not need to set this
parameter on your compute nodes for example.

Change-Id: I6901e9d0f781f7ba83d58a2c41343bd80dd9215c
Install the correct mysql-dev package for RHEL6

RHEL6/CentOS6 requires mysql-devel/mysql-lib packages instead of
libmysqlclient-dev for 'mysql-dev' element.

Change-Id: If5a004720b5982949568e5f79b887b9d5202a576
Closes-Bug: #1393313
Merge "Install the correct mysql-dev package for RHEL6"
Merge "Migrate heat-api element to svc-map"
Merge "Bump hacking to 0.9.x series"
Merge "Fix incorrect service name on Debian in `add-rule`"
Merge "Fix horizon package install"
Merge "Only configure Nova DB connection if it is set"