Fix base64 serialization in JSON protocol

This includes adding additional protocol tests for blob serialization.
These were no tests for blobs in the json protocol input tests.

Fixes #385, aws/aws-cli#1033

In addition to the unit tests, I've also added an integration test for kinesis to ensure we don't regress on this in the future.

cc @kyleknap @danielgtaylor