Simplify the parsing logic for Gerrit JSON data

For the xauth token & related gerrit settings.

We now get the proper JSON object which we can,
more deterministically query for data.

Change-Id: I9555c9a0e157ee2f6d7a21182afaa828a1ab4280
Properly evaluate the gerrit page data json

Change-Id: I53d87c49b075c31f938fc5a2f3eba3ebc1155e8e
Add support for Gerrit v2.9 +

Change-Id: I7fb87d718bdb7206ba182825d1fbfdcae7d13224
Merge pull request #4 from timotei/master

Add support for Gerrit v2.9