appscale-terminate-instances in Python

This pull request has the appscale-terminate-instances command rewritten in Python (from Ruby). Coverage has been updated accordingly.

Relies on appscale-run-instances being merged in first, so don't merge this in right now. Also fixing two broken unit tests in the time being.