Print friendly error message if gobject isn't found

Fixes #836
Merge pull request #846 from jodal/fix/836-gobject-import-error

Print friendly error message if gobject isn't found