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, using 0 compute credits, and was queued for 0 seconds