cfgupgrade: Add support for Ganeti 2.2
cfgupgrade: Add support for Ganeti 2.2

Since configuration changes are now usually done in the configuration
writer class, cfgupgrade's only task is to change the config version.
This means we can easily support upgrading from Ganeti 2.0 and 2.1 to
2.2.

This patch also brings a couple of small cleanups.

Signed-off-by: Michael Hanselmann <68b67885ff74281219b4a4be33cc20fd45078d7c@google.com>
Reviewed-by: Guido Trotter <f62ca4d5358bdaeef0e50e57f9f7e231de63727e@google.com>

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