Fix header parsing for scalar values

All the scalar handlers can now work with either XML nodes
or with the header strings directly.  This fixes a bug where
non-string scalar values were present in the headers (integers,
booleans, doubles, etc.).

Fixes aws/aws-cli#940.
Merge branch 'fix-scalar-headers' into develop

* fix-scalar-headers:
  Fix header parsing for scalar values