Policy Enforcer, pass entire context dict

The oslo enforcer expects "as much detail as possible" about the
calling user in the creds dict, so include the whole context dict,
which will enable more complex policy rules to be expressed than
with the current code where we pass only a subset of the context
data.

Change-Id: I70bd0fb07bb0b8e9c3c2b94b399197ad207d0fd2
Refactor AWS::EC2::Instance delete handling

Refactor instance to use the nova_utils delete function.

Closes-Bug: #1329453
Change-Id: Ie84fb3c5c9f6381e4eea3a5e99d62266a8abd023
Remove rst2script.sed and integration.sh

rst2script.sed was referenced in the Fedora getting started
documentation, but the recommended way to use Heat/Openstack
on Fedora is now to use RDO/packstack.

Also removes the reference to rst2script.sed in the
getting_started/on_fedora documentation.

Also removes obsolete integration.sh script.

Partial-Bug: 1338066

Change-Id: I7f2b0d84ccef324ccb8e32ca4c6d90f9a3f2dda3
Reusing PARAMETER_CONSTRAINTS value

The variable PARAMETER_CONSTRAINTS is not used, also this variable
makes code a little confused, because according to documetation
constraints for parameters don't include MIN, MAX and CONSTRAINTS
definitions. This patch makes this definition clear.

Change-Id: I47b49e3ed23720ed652f688f2901ae9bc6b01632
Merge "Remove rst2script.sed and integration.sh"
Merge "Reusing PARAMETER_CONSTRAINTS value"
Merge "Refactor AWS::EC2::Instance delete handling"
Replace str() with six.text_type() where exception is used

When switching to oslo.i18n, tests where used str(exc) will failed
with unicodeerror, so before switching to oslo.i18n, need to
replace str with six.text_type where exception is used. And it's
recommanded to use six.text_type instead of str in openstack.

Change-Id: Ie37a6ef74a12b2580ce72afc75c99bcd19d4cf97
Merge "Policy Enforcer, pass entire context dict"
Stop software_deployments from passing empty keys

When software_deployments was given a body missing the "input_values"
field it would pass update info with input_values=None, which would
later fail and cause an internal server error.

This change prevents software_deployments from passing on NoneType
values.

Change-Id: I02e9c08bbd7429d808de1451de12cc02fc879ecb
Closes-Bug: 1319825
Use standard FnGetAtt method for Swift container

Change-Id: I07b260d11f1c41f6e406f99df77cfad1c65a8a4b
Merge "Use standard FnGetAtt method for Swift container"
Prevent excessive validation for maxPersonality limit

We have PERSONALITY property on OS::Nova::Server that defaults to {},
but code that triggers check for limits compares value of property
to None -> this property always get validated for limits (if limit is
set).

Change-Id: I552a03cd9f4ab570aa059349ab361bb50c9c0d1e
Closes-bug: #1333283