Merge pull request #191 from shemminger/master

Minor sparse related fixes
ztree: add missing autofree to ztree_dup()

Like zhash_dup, the newly created tree should have autofree.
ztree: fix comments around ztree_save/load

Correct some obvious copy/past oversights
ztree: add some tests for ztree_update

Need to check value overwrite path
ztree: switch to alternative source

Use a version of red-black tree with a more liberal license.
The main difference in this implementation is how the root node and
the nil node are encoded.