Moved reactor::popen test to reactor_test.cpp
Moved either_switch to separate header.
* Reduced a number of includes to forward-decls.
* Removed build_signature and friends in favor of C++11 idioms.