Allow literal dot in config section names

BugzID: 15952
Extend _sum to operate on JSON Objects

A map function that emits JSON objects as values can now be used with
the builtin _sum function.  In contrast to our support for JSON arrays
(which can be freely mixed with numbers), this extension requires an
all-or-nothing approach - either emit only objects or do not emit any at
all.  Moreover, all the fields inside the object must have values that
are numbers or arrays of numbers.

TODO use proper instead of writing explicit unit test cases

BugzID: 14798
Fix handling of initial accumulator for objects

BugzID: 14798
Extend built-in _stats reduce to arrays of numbers

BugzID: 15671
Reimplment db created events