Add configurable structure of OpenTSDB client

Now it's possible to choose one of two client implementations -
either via REST API or via direct socket usage. Socket client
currently supports only meter posting.

Change-Id: I6005cfa23ffbe4bdba15e62637150e8a29bdefc2