Remove MessageInTransit::kTypeMessagePipe; rename kTypeMessagePipeEndpoint to kTypeEndpoint; etc.

R=yzshen@chromium.org

Review URL: https://codereview.chromium.org/737663003