Merge branch 'devel' into issue21
Supplement error check explicitly with xmp_get_error.  Closes #21

The boolean return value of some library functions does not always seem
to be reliable on mac (homebrew).  So we supplement its usage by
explicitly checking the value of the xmp_error_code function.
Merge branch 'issue21' into devel