GWTUI appends `,edit` to diff view pages to load an editor. In this
change, we handle this case and set the 'edit' flag in params.
Loading the editor will come in a later change.
Also fixes a typo.
Bug: Issue 4437
Change-Id: I363163d0a1cf7af1fba5b1845137e9ff0f685450