Added more strict shell exit statuses.  Accounted for AMI snapshots.

I really like the simplicity and clarity of ec2-prune-snapshots.  Thanks!

I hardened it a little more before using it unattended in a Jenkins scheduler.  This is my first time in PHP code, so apologies if I missed a convention.