Gmail settings now uses our config framework

Also added a base.deprecated() to widget, so we can have a consistent interface
for deprecating things.