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
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 "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"