Avoid harmless js TypeError during review creation (all browsers)

TypeError: Cannot call method 'trim' of undefined
Escape attribute values containing ' or " even in commit.diff.compactMode

This silences a few IE warnings, e.g. it didn't like this HTML:
<button onclick=CommentChain.create('issue');>Raise Issue</button>

HTML spec[1] says attributes values must be quoted if they contain spaces
or any of the following characters: " ' ` = < or >

[1] http://www.whatwg.org/specs/web-apps/current-work/multipage/introduction.html#a-quick-introduction-to-html
Load "display conflict resolution changes" view for a conflict merge

This should improve code coverage slightly for merge replays.
Disallow 'r' as repository short name

This short name makes /REPO_SHORT_NAME/{SHA1|BRANCH} URLs conflict
with the built-in /r/REVIEW_ID URLs.
Add TC for "Disallow 'r' as repository short name"
Don't mix spaces/tabs for indent in init.d script template