GSimpleAction: add default activate handler
GSimpleAction: add default activate handler

If the action is stateful and the user doesn't have their own activate handler
then do some reasonable things for ourselves.

After a lot of experience using stateful GSimpleAction it turns out that
people almost always end up using it in the same ways:

A boolean-typed stateful action with no parameter is most likely going
to want to be toggled.  Any other type of action that has the parameter
type equal to the state type probably intends for activation to
represent a request to change the state.

This patch implements those two cases.  This will let people stop
writing their own trivial handlers over and over.

https://bugzilla.gnome.org/show_bug.cgi?id=722503

cention-sany/glib,gale320/glib,johne53/MB3Glib,Distrotech/glib,johne53/MB3Glib,tamaskenez/glib,tchakabam/glib,tamaskenez/glib,endlessm/glib,lukasz-skalski/glib,ieei/glib,mzabaluev/glib,tamaskenez/glib,ieei/glib,lukasz-skalski/glib,ieei/glib,mzabaluev/glib,endlessm/glib,gale320/glib,krichter722/glib,krichter722/glib,gale320/glib,Distrotech/glib,johne53/MB3Glib,tchakabam/glib,tamaskenez/glib,Distrotech/glib,krichter722/glib,mzabaluev/glib,mzabaluev/glib,lukasz-skalski/glib,ieei/glib,MathieuDuponchelle/glib,gale320/glib,johne53/MB3Glib,johne53/MB3Glib,Distrotech/glib,MathieuDuponchelle/glib,johne53/MB3Glib,krichter722/glib,cention-sany/glib,cention-sany/glib,MathieuDuponchelle/glib,endlessm/glib,krichter722/glib,endlessm/glib,lukasz-skalski/glib,Distrotech/glib,tamaskenez/glib,tchakabam/glib,lukasz-skalski/glib,MathieuDuponchelle/glib,MathieuDuponchelle/glib,gale320/glib,tchakabam/glib,ieei/glib,cention-sany/glib,mzabaluev/glib,endlessm/glib,cention-sany/glib,tchakabam/glib