appscale-terminate-instances in Python

This pull request has the appscale-terminate-instances command rewritten in Python (from Ruby). Coverage has been updated accordingly.