CP-15407: Update the function that calculates pool license
CP-15407: Update the function that calculates pool license

Cherry-picked from cream-indigo:
CA-190393: Update the function that calculates pool license
- use Host.GetEdition function, as this function interprets xapi license string "basic" as Free license in XenCenter

Signed-off-by: Mihaela Stoica <be95049f8e30d921fc7e2579c00c48bd84c40606@citrix.com>

GaborApatiNagy/xenadmin,cheng--zhang/xenadmin,cheng-z/xenadmin,letsboogey/xenadmin,minli1/xenadmin,GaborApatiNagy/xenadmin,kc284/xenadmin,ushamandya/xenadmin,kc284/xenadmin,minli1/xenadmin,cheng-z/xenadmin,geosharath/xenadmin,kc284/xenadmin,ushamandya/xenadmin,Frezzle/xenadmin,geosharath/xenadmin,geosharath/xenadmin,stephen-turner/xenadmin,huizh/xenadmin,kc284/xenadmin,MihaelaStoica/xenadmin,cheng-z/xenadmin,huizh/xenadmin,huizh/xenadmin,cheng--zhang/xenadmin,ushamandya/xenadmin,cheng-z/xenadmin,ushamandya/xenadmin,Frezzle/xenadmin,letsboogey/xenadmin,Frezzle/xenadmin,GaborApatiNagy/xenadmin,jijiang/xenadmin,geosharath/xenadmin,robhoes/xenadmin,huizh/xenadmin,Frezzle/xenadmin,geosharath/xenadmin,stephen-turner/xenadmin,minli1/xenadmin,stephen-turner/xenadmin,robhoes/xenadmin,geosharath/xenadmin,MihaelaStoica/xenadmin,robhoes/xenadmin,letsboogey/xenadmin,MihaelaStoica/xenadmin,xenserver/xenadmin,cheng--zhang/xenadmin,xenserver/xenadmin,huizh/xenadmin,robhoes/xenadmin,stephen-turner/xenadmin,jijiang/xenadmin,jijiang/xenadmin,MihaelaStoica/xenadmin,minli1/xenadmin,huizh/xenadmin,letsboogey/xenadmin,GaborApatiNagy/xenadmin,robhoes/xenadmin,cheng--zhang/xenadmin,cheng--zhang/xenadmin,stephen-turner/xenadmin,Frezzle/xenadmin,cheng--zhang/xenadmin,ushamandya/xenadmin,letsboogey/xenadmin,minli1/xenadmin,letsboogey/xenadmin,jijiang/xenadmin,stephen-turner/xenadmin,minli1/xenadmin,cheng-z/xenadmin,MihaelaStoica/xenadmin,robhoes/xenadmin,xenserver/xenadmin,kc284/xenadmin,jijiang/xenadmin,Frezzle/xenadmin,GaborApatiNagy/xenadmin,cheng-z/xenadmin,jijiang/xenadmin,ushamandya/xenadmin,MihaelaStoica/xenadmin,GaborApatiNagy/xenadmin