c++11 backend: refactored channel, merged cpp-channel by Alex Horn into runtime/c++