Workaround for crash when running job (conversion to PDF or MOBI/reading metadata from epub without cover) that requires Qt WebKit on Ubuntu. Fixes #1360693 [Ubuntu: Import EPUB, Metadata Error](https://bugs.launchpad.net/calibre/+bug/1360693)

See https://bugreports.qt-project.org/browse/QTBUG-40946
Fix #1360806 [{author_sort} ignored (when saving and in plugboards) when book has no author](https://bugs.launchpad.net/calibre/+bug/1360806)

Merge branch 'master' of https://github.com/cbhaley/calibre
E-book viewer: When right clicking on an image to view it in its own popup window, fix the rotate button not working correctly with the zoom buttons
Possible fix for crash on some linux systems in Qt 5 with --detach

Do the fork() before loading any Qt modules.
...
Conversion: Fix error when converting EPUB/HTML files that contain invalid margin or padding declarations. Fixes #1360842 [ePub to PDF convertion failed](https://bugs.launchpad.net/calibre/+bug/1360842)
...
Workaround for bug in hdiutil
Add providing a device driver with information about the current library when connecting and when the library changes while connected.

For memory, we discussed this some weeks ago. I just got around to doing it.