Created the pipe.switch() user function for switching between data pipes.
Two unit tests were created for the new code - test_switch() and test_switch_fail().
Authored by: bugman 2007-03-13
Parent: [r3165]
Child: [r3167]