Fix example generation for Hash and Collection types

* They will now wrap the context param into an Array if it is not.

Signed-off-by: Josep M. Blanquer <blanquer@rightscale.com>
Merge pull request #81 from blanquer/non_array_context_in_examples

Fix example generation for Hash and Collection types
Make hashes take a DSL compiler option.
And allow getting the ‘keys’ using the ‘attributes’ method.
(Used in conjunction with Praxis ‘headers_as_hashes’ branch)
Type description changes:

* In Collection.describe, move member_attribute from inside options to top level.
* Add dsl_compiler_options option to be internal and never reported when describing an attribute

Signed-off-by: Josep M. Blanquer <blanquer@rightscale.com>
Merge pull request #85 from rightscale/headers_as_hashes

Hash improvements and fixes
Merge pull request #83 from rightscale/doc_browser_improvements

Type description changes:
Add case-insensitive loading and extra-keys support to Hash.

Signed-off-by: Dane Jensen <dane@rightscale.com>
Merge pull request #86 from careo/hash-keys

Add case-insensitive loading and extra-keys support to Hash.
Fix Hash.validate bug for when extra_keys are allowed without a ‘splat’ key.

Signed-off-by: Josep M. Blanquer <blanquer@rightscale.com>
Ready for new gem version: 2.2.0

Signed-off-by: Josep M. Blanquer <blanquer@rightscale.com>
Added bundler rake tasks.

Signed-off-by: Josep M. Blanquer <blanquer@rightscale.com>
Update Model.dump to first load the value to ensure it's the correct type
Update changelog, and let Model.valid_type? accept a Hash