Add maktaba#value#Save and maktaba#value#Restore

Adds a utility to save the values of a set of variables and then restore them, useful for temporarily overriding settings.

Resolves #8.