Correct documentation.
Add datetime-aware toPosix(), get_midnight().

Fixes analyze being offset by the local time zone offset from UTC when
looking for database results.
Log more about RRD analysis datetimes.
Start RRD at the beginning of the hour.

Seems more expected than whatever odd time the first result is at.
Enable autocommit on read connection.

Prevents read leaving a transaction open without requiring an explicit
read.commit() after each group of queries.
Start RRD time from all results, not only identifier.
Use dictionary instead of added attributes for config.

This is more idiomatic and doesn't confuse static analysis quite so
much.