Bug 52331: Prevent navbars from appearing in diff view.

This checks to make sure the request is not a diff before
adding the navigation bars.

Bug: 52331
Change-Id: I1650b137d181a406284f39eb286674aa87035c38
Merge "Bug 52331: Prevent navbars from appearing in diff view."