shared/util.go: use string method with stdout and stderr
shared/util.go: use string method with stdout and stderr

some small changes:
* use String() method with stdout and stderr
* simplified IsTrue function

Signed-off-by: Tim Rots <303d85e35fdeaa7baaeca9350aad42402c9e3308@protonmail.ch>

lxc/lxd,lxc/lxd,lxc/lxd,atxwebs/lxd,lxc/lxd,hallyn/lxd,lxc/lxd,stgraber/lxd,lxc/lxd,atxwebs/lxd,atxwebs/lxd,hallyn/lxd,hallyn/lxd,lxc/lxd,stgraber/lxd,stgraber/lxd,stgraber/lxd,hallyn/lxd,hallyn/lxd,stgraber/lxd,stgraber/lxd,atxwebs/lxd,hallyn/lxd,stgraber/lxd