Added error handling for when Steam API is down

Now checks for valid XML and JSON responses from steam, exists and
prints error message if invalid