Redmine#3482: Solaris 9 and 10 upgrade script

as per https://cfengine.com/dev/issues/3482

@McAtte please review

Should go in together with https://github.com/cfengine/enterprise/pull/20 and https://github.com/cfengine/nova/pull/544