Gerrit's UI dispatches a number of requests to the server when it
initially loads. These are to obtain server configs, server version and
account data. These round trips add additional time when the App starts.
This commit ships the most relevant data in-line directly in index.html.
On the server, this is almost for free because when rendering
index.html, we already authenticated the user, so inline this data is
cheap. The server information is static, so it is also cheap to inline.
We expect this to help reduce the App's startup on slow networks.
We render the data using Gson and Soy. Soy has a predefined ordainer to
render JSON data. We use this to safely escape values.
Change-Id: I8e9cc077fa7212ca782b1ec334d41b872a3fd470