Split mythbaseutil.h into header + implementation.
Add some documentation for setup_pipe
Add missing header includes