clean up sample index

- ensure foreign key columns are indexed (InnoDB adds these
indices implicitly so make sure index doesn't already exist)

Change-Id: Ia40c226ffea54cb07980864f0df1cb186dafd352
Fixed various import issues exposed by unittest

Tried running the unit test stand-alone(e.g. using testtools.run), and
it exposed various 'import' issues about the oslo.config options and the
modules, in both the test cases themselves and the ceilometer module.
This patch fixed those import issues.

Change-Id: I68f30d335ee8d0d63c451116274632287a9ec77f
Closes-Bug: #1328796
Remove meter hardware.network.bandwidth.bytes

The metering is just the speed of nic, if the nic is Gigabit-NIC,
the value will always be Gigabit:) and it is better to shown in
the metadata.

Change-Id: Iaf95f4e9a0ff0a36fe1e8d03d5c87bf5b24bd24b
Closes-Bug: #1331001
Merge "Remove meter hardware.network.bandwidth.bytes"
Merge "clean up sample index"
Merge "Fixed various import issues exposed by unittest"