Make streams configurable

Added __init__ params that specify streams in a manner Popen understans,
including passing None to avoid opening streams. Default behaviour is
still PIPE for all three.

Change-Id: I5c58705ed49f172b79a09aaa03f02750d67dfafa
Signed-off-by: Dima Kuznetsov <dkuznets@redhat.com>