Accept `pathlib.Path` objects as software URL in tests.

`Path` objects are immediately converted to a string.
This can only be done easily in tests for now, as slapos.core has to
still support Python 2 users in other parts of the code, and `os.fspath`
was added in Python 3.6.

See merge request !686
17 jobs for master in 0 seconds
Status Job ID Name Coverage
  External
failed SlapOS-Master.UnitTest-Master

02:42:44

passed SlapOS.Eggs.UnitTest-Master.Python2

00:27:09

failed SlapOS.Eggs.UnitTest-Master.Python3

00:26:23

passed SlapOS-Master.UnitTest-Master

01:41:17

passed SlapOS-Master.UnitTest-Master

02:24:06

passed SlapOS-Master.UnitTest-Master

01:54:51

passed SlapOS-Master.UnitTest-Master

02:11:33

failed SlapOS.Eggs.UnitTest-Master.Python2

00:24:47

passed SlapOS.Eggs.UnitTest-Master.Python2

00:29:49

failed SlapOS.Eggs.UnitTest-Master.Python2

00:25:40

passed SlapOS.Eggs.UnitTest-Master.Python2

00:25:28

passed SlapOS.Eggs.UnitTest-Master.Python2

00:25:14

passed SlapOS.Eggs.UnitTest-Master.Python3

00:25:24

failed SlapOS.Eggs.UnitTest-Master.Python3

00:27:33

failed SlapOS.Eggs.UnitTest-Master.Python3

00:26:18

passed SlapOS.Eggs.UnitTest-Master.Python3

00:25:51

failed SlapOS.Eggs.UnitTest-Master.Python3

00:25:50