Handle None result from find_library

Wrap all library loads into a separate function which handles concerning
return values from the involved ctypes functions.
Catch ImportErrors from xcb and X utility libraries
Merge pull request #10 from zombofant/devel

Fix strange AttributeError if libxcb-image.so is not available