Make browser examples run with Splunk 6.0

With Splunk 6.0, we have to set an explicit Content-Length, which we were not
always doing.
Merge branch 'develop' of https://github.com/splunk/splunk-sdk-javascript into develop
Merge branch 'master' into develop
Update CHANGELOG and version numbers for 1.2.2
Release 1.2.2