improve error output when setting compass corr params

The previous implementation didn't catch a number of error codes
(EPHIDGET_INVALIDARG, EPHIDGET_NOTATTACHED, EPHIDGET_UNEXPECTED), and
the new one is more elegant and consistent with the previous code anyway.
Merge pull request #14 from mintar/compass_corr_logging

improve error output when setting compass corr params