Bad API response defenses (#24)
Bad API response defenses (#24)

* Adding checks for if the api response is html, a string, or a non dictionary

* API response better error handling

Moved mage server compatibility check higher in the server method
report different errors based on if the response was json but didn't have the correct properties, or if it was something else entirely
ngageoint/mage-ios,ngageoint/mage-ios,ngageoint/mage-ios,ngageoint/mage-ios