Switch to using a subshell for sudo to preserve shell pipes etc.

Signed-off-by: Ken Barber <ken@bob.sh>
More tests around escaping quotes

Signed-off-by: Ken Barber <ken@bob.sh>
Merge pull request #16 from kbarber/sudo_subshell

Switch to using a subshell for sudo to preserve shell pipes etc.