Fix urlparse in cookbook for python3

Use the python `six` library to realize the compatibility of `urlparse` in python2 and python3

See merge request !1138
4 jobs for 1.0
Status Job ID Name Coverage
  External
passed SlapOS.Eggs.UnitTest-Master.Python2

passed SlapOS.Eggs.UnitTest-Master.Python3

passed SlapOS.SlapRunner.ResilienceTest-Master

failed SlapOS.SlapRunner.ResilienceTest-Master.ERP5