[j2x] New test cases. Better line wrap startegy.

Change-Id: Ic1f4fcfb58c7a1e3b97ada1d35703cbe920ae077
[imports] Changed executions order of cut/copy action to avoid ui freez
Fixed wrong document selection issue when pasting java code

Change-Id: I17cb57506c8ae61a9a9daae704069d8a4d095039