[WIP]collect aws cloudformation templates and stacks at Amazon refreshing

Instead of md5, can we have an ems_ref, and just use the md5 string in there?  It might make some of the refresh code a little friendlier.