Add functions for advanced.config manipulation.

Add functions to assist in manipulation of the advanced.config file
directly, which is required for repl which can not be configured with
Cuttlefish, when enabled.