Merge branch 'release-0.5.0' into develop

* release-0.5.0:
  Bumping version to 0.5.0
Match the style of input JSON to the style used in output.  Fixes awscli issue 187.
Some fixes for the docs.  Also switch to a model where the writes are collected together in a list and then assembled into a string at the end using the getvalue method.  This allows some introspection and easier manipulation of the document during construction.
Removing some unnecessary leftovers.
Add simple test to make sure we have a parameter object before trying to access it's attributes.
Bumping version number.
Merge branch 'release-0.6.0'