LUSetInstanceParams: abstract _GetUpdatedParams
LUSetInstanceParams: abstract _GetUpdatedParams

There is some duplicated code between hv and be parameters to create the
updated parameters dict. This will need to be done also for nic
parameters, so we abstract this functionality in a function.

Signed-off-by: Guido Trotter <f62ca4d5358bdaeef0e50e57f9f7e231de63727e@google.com>
Reviewed-by: Iustin Pop <acf83a5274f31a43af6b914614365999469c1a31@google.com>

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