CX1 MT: Unwrap the MT output if wrapped by legacy cxserver api

Authored by santhosh on Wed, Sep 13, 5:33 AM.

Description

CX1 MT: Unwrap the MT output if wrapped by legacy cxserver api

cxserver /mt api won't wrap the output in unwanted <div> tag
since https://gerrit.wikimedia.org/r/#/c/374520/

Make the unwrapping conditional by checking the root tag of
the MT output recieved.

Change-Id: I014ced5bc306654053cf47c8cdfe4384ce90bdfb

Details