allow online viewing of /diag
allow online viewing of /diag

Append ?mode=view

Change-Id: I345ffa21ebbab15a45cb71af936d46036cb15653
Reviewed-on: http://review.membase.org/5500
Reviewed-by: Steve Yen <ef850f73f7832052d3c6d9b5ddd3a1716d9a57f1@gmail.com>
Reviewed-by: Aaron Miller <41fcc51335f382e0855796cc35dd33f571f2d8f7@ninjawhale.com>
Tested-by: Aliaksey Kandratsenka <340b8e09ca65cd3fc686427fcfed17e87eaf61e2@gmail.com>

nimishzynga/ns_server,membase/ns_server,nimishzynga/ns_server,vzasade/ns_server,daverigby/ns_server,membase/ns_server,pavel-blagodov/ns_server,membase/ns_server,ceejatec/ns_server,vzasade/ns_server,pavel-blagodov/ns_server,ceejatec/ns_server,daverigby/ns_server,mschoch/ns_server,t3rm1n4l/ns_server,mschoch/ns_server,membase/ns_server,nimishzynga/ns_server,ceejatec/ns_server,vzasade/ns_server,t3rm1n4l/ns_server,mschoch/ns_server,mschoch/ns_server,ceejatec/ns_server,ceejatec/ns_server,pavel-blagodov/ns_server,membase/ns_server,membase/ns_server,mschoch/ns_server,daverigby/ns_server,pavel-blagodov/ns_server,t3rm1n4l/ns_server,t3rm1n4l/ns_server,t3rm1n4l/ns_server,daverigby/ns_server,nimishzynga/ns_server,daverigby/ns_server,nimishzynga/ns_server,ceejatec/ns_server,nimishzynga/ns_server,mschoch/ns_server,vzasade/ns_server