Use tighter typing in editing: SimplifyMarkupCommand & TextIterator

Use tighter typing in editing to increase code readability. This CL focuses
on SimplifyMarkupCommand and TextIterator.

R=yosin@chromium.org, leviw@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@179525 bbb929c8-8fbe-4397-9dbb-9b2b20218538