Add ami and ami-from-group-node functions

These provide convenient functions for building an AMI from an existing
group-spec.