added keyerror check for tournaments and phases that don't have 'state' keys in the response json
added keyerror check for tournaments and phases that don't have 'state' keys in the response json

pigi5/hoopsbot