allow for cairocffi imports

Backport from master to allow cairocffi as a drop-in replacement for pycairo.

Fix for #825
Merge pull request #924 from esc/fix_cairo_cffi_import_0.9.x

allow for cairocffi imports