Alarms support in HBase Part 2

Refactor query creation: it is needed to make two different
methods for query creation and start and stop - rows determination.

Partialy implements bp hbase-alarming

Change-Id: I2a2a728597d92c27b86e4a93dd0f151b6f52403b
Make recording and scanning data more determined

HBase may contain only strings and unicodes.
In current implementation some entries put to db after str() or unicode(),
others are not being modified at all.
It is needed to make this process more determined. It may be achived by
creating serialize() and deserialized() methods. In these methods json library
may be used for safe work with HBase.

Partially implements bp hbase-alarming

Change-Id: If67a103e1d79d98cc93b88fe60e79c97fd17bb96
move databases to test requirements

requirements.txt is only appropriate for libraries that are
always needed, as they will be installed all the time. However
if actually trying to run multinode you won't have databases or
database access on the compute nodes.

So you can't pip install -r requirements.txt on those environments.

For an example, see Nova.

Change-Id: Ic962e518b8ffa0457031d5851f83285abb5096df
Removed global state modification by api test

This line caused 200 tests to fail in case of running tests with
unittest runner:
tox -e venv "python -m unittest discover -t . ceilometer/tests"

Change-Id: Ib4586e31061de91cc56c0186fe057473616d1776
Merge "move databases to test requirements"
Merge "Alarms support in HBase Part 2"
Merge "Make recording and scanning data more determined"
Merge "Removed global state modification by api test"