Add CloudFormation utility functions

This adds some general-purpose functions to create or update an AWS CloudFormation stack from a JSON template file.