cpp: Add convenience update function to a key
* lang/cpp/src/key.cpp (Key::update): New. * lang/cpp/src/key.h: Update accordingly.
This function helps if you have an incomplete key or want
to make sure all info in a key is complete (e.g. validity / tofuinfo)