Switch the global serial_no to the top object
Switch the global serial_no to the top object

Currently the serial_no that is incremented every time the configuration
file is written is located on the 'cluster' object in the configuration
structure. However, this is wrong as the cluster serial_no should be
incremented only when the cluster state is changed (for whatever
definition of “changed” we will use), not simply because the
configuration file is written.

This patch changes so that the ConfigWriter._BumpSerialNo affects the
top-level ConfigData object.

Reviewed-by: ultrotter

yiannist/ganeti,dimara/ganeti,apyrgio/ganeti,ganeti-github-testing/ganeti-test-1,yiannist/ganeti,leshchevds/ganeti,apyrgio/snf-ganeti,leshchevds/ganeti,ganeti-github-testing/ganeti-test-1,yiannist/ganeti,ganeti/ganeti,andir/ganeti,ganeti/ganeti,bitemyapp/ganeti,mbakke/ganeti,ganeti/ganeti,leshchevds/ganeti,apyrgio/ganeti,mbakke/ganeti,grnet/snf-ganeti,andir/ganeti,onponomarev/ganeti,grnet/snf-ganeti,bitemyapp/ganeti,mbakke/ganeti,andir/ganeti,apyrgio/snf-ganeti,onponomarev/ganeti,dimara/ganeti