the http api should propagate errors properly.
engine should propagate errors properly.
close batch writes so we don't leak memory.
remove an unused constant.
fix the ranges.
fix #41. Dropping the database should delete all timeseries data from that database.