Add incr_set and decr_set

These functions will increase or decrease, respectively, an existing
key or initialise it if doesn't exist.
Minor changes

Update wording, copyright and whitespace cleanup.
Reduce changes with master