bug fix and new features

1. Fix critical bug of undo/redo issue when cut and paste.
2. Add cut/copy/paste/selectAll item to global menu.
3. Add google search item to editor's context menu.
4. optimize editor's context menu build form.
5. optimize to not track document's internal modified status, use
webview's instead.