slaprunner: fix popen on python3

On python3 several views were not functional, because subprocess output was
retrieved as bytes, but manipulated as a string.

This adds a few tests for views, not complete because it would be too much time
consuming for now.
2 jobs for master
in 0 seconds, using 0 compute credits, and was queued for 0 seconds