Change code example in save-state.rst to work
This accounts for the fact that "maximized" and "fullscreen" are construct properties, and can't be set in _init().
NOTE: I don't know Python or Vala enough to adjust the code there to work. Hopefully someone who knows that better will be able to adjust them. By inspection, Javascript looks fine.
Also, do we leak the GSettings in class_init()?