Return nil when we're supposed to stop processing points.

Fix #821
Fix the timestamps of the points written by the collectd plugin

Try to use high resolution timestamp but if it's 0, fall back to
unix timestamp.

Collectd timestamps are uint64 and influxdb uses int64.  Change
to use type conversion instead of converting to string and then
parsing the string back to int64.  Also, test if the collectd
timestamp is too large for influxdb.  If it is, wrap around and
log an error message the first time but don't fill the log with
messages for every entry thereafter.

Move packet parsing code into its own function so it can be unit
tested.

Add unit tests to for packets using high resolution and unix
timestamps.

Fix #1051. Close #1054
Allow graphite and collectd bind address to be set

Fix #1055. Close #1056
Return an Inf. or NaN instead of panicing when a dividing by zero

Fix #1022. Close #1050
Fix continuous query functionality in the api

The endpoints that were used previously are now deprecated and
removed. This commit uses the query language instead of the endpoint to
provide the same set of features.

fix #1058.
gollectd's TypeDB method has been renamed

Close #1060
Move the influxdb test to an examples directory

These tests weren't designed to be run automatically via the ci. They
were a proof of concept and to demonstrate the api in action
Get rid of the inspect raft tool since it uses internal api and doesn't compile
fix a compilation error
Use go tools to discover the packages