Add the license file.
Update for python3.

Still works with python2, except for python2's print bug (in debian,
anyway).
Allow setting of existing values.

Adds the value if it does not exist.