Add version map-reduce jobs.

Add version counter.
Add version by year counter.
Simplify map-reduce job registration.