Make setting an incorrect compression quality value non-fatal by forcing incorrect values to the default.
Book matching during device connection:
1) add some debugging output
2) add some user feedback that it is happening by changing the status bar and setting a wait cursor.
3) make the book matching during device connection pseudo-multithread by processing GUI events during matching. In particular, this prevents the OS from deciding that calibre has stopped responding.
Only accept non-user and non-network events while processing books.
Prevent setting an incorrect value for compression quality in the wireless driver causing an error

Show a busy cursor while calibre is working on matching books on the
device to books int he library, which can take a while if the user has a
lot of books on the device.

Merge branch 'master' of https://github.com/cbhaley/calibre