raise an exception if the server didn't return 200
catch the exception if we're doing async writing and log the error
no exception should be raised for all 2xx response codes
Merge pull request #17 from influxdb/raise_exception

Raise an exception for syncrhonous calls if the server didn't return a 2xx status code.