Added lightweight class to easily save and restore state of variables.
Updated README.md to include entry on state.hxx