Added _view/bulk-ids to toolkit.

This comes in handy if I want to get ids of certain bulk uploaded documents
every once in a while. I used exactly this as a temp view already.
Of course it is non-sense for any non-sequential uuid config.
Added unified time range to _view/dimensions reduce output.

CommonJS is unavailable for reduce functions so I had to quote it from
lib/range. Avoided the use of range/toRange or range/toString because they are
most likely to be changed for more flexibility and I would end up with more
code maintenance. The expand function could look simpler for sure.
Simplified reduce function of _view/dimensions.

Undefined i.e. infinite bounds are ignored, because there is always data
without any time information and I have not written this reduce function to
output a useless infinite range.
There is one small glitch though that, for instance, undef-2010 | 2011
evaluates to 2011 instead of 2010-2011.