Use build-in function to write field name in JsonXContentGenerator#writeRawField

The #writeRawField method forcefully writes a `,` spearator expecting a raw field
to never start as the first value in an object.

Closes #5514
Randomize XContentType for requests

The used XContentType is static and should be randomized per test.

Closes #5515
Add 1.1 branch url

Added S3 access URL for elasticsearch 1.1 snapshot
fix potential NPE, throw failure only if exists