Fixed debug printing and reset writing to JSON like normal.
Merge branch 'master' of https://github.com/ehagan/InfluxDB into rabdureh
Updated print statement in api.go
Merge branch 'master' of https://github.com/ehagan/InfluxDB into rabdureh