Fix regression that broke FB2 input

Fixes #1186213 [ebook-viewer (portable 0.9.33) :: "Expected string or buffer" error](https://bugs.launchpad.net/calibre/+bug/1186213)
Allow right clicking on an author in Book Details

Allow right clicking on an author in Book Details to manage that author,
i.e. change the author name, sort value or link. Fixes #1186192 [Book Details Author right click - no options if file](https://bugs.launchpad.net/calibre/+bug/1186192)
ToC Editor: handle files with <p> inside <head>

ToC Editor: Handle ebooks that have <p> tags inside the <head> tags.
Instead of erroring out, the <p> tags are automatically moved into
<body>. Fixes #1186298 [Problem with the Edit ToC feature](https://bugs.launchpad.net/calibre/+bug/1186298)
If the destination directory for calibre_style doesn't exist, create it before trying to copy there
Merge pull request #2 from GRiker/master

Masked error returned from libiMobileDevice:idevice_get_device_list() to 16 bits.
Merge pull request #3 from jgoguen/make-plugin-dir-during-build

Create plugins dir if it doesn't exist
...
Add an in-memory UUID map
DOCX: Finish reading of table style from XML

Now it remains to apply them.
Merge branch 'master' of https://github.com/cbhaley/calibre

Speed up retrieving books by uuid by keeping an in memory uuid->id cache.
Tighten up the uuid map code a little
Add UUID cache to new db backend
MOBI Out: Fix regression causing missing v-margins

MOBI Output: Fix regression in 0.9.31 that caused vertical margins
specified on some block level elements to be ignored. Fixes #1186533 [Regression: some margins lost when converting to MOBI](https://bugs.launchpad.net/calibre/+bug/1186533)
Remove escapemagazine.pl store
Merge pull request #5 from GRiker/master

Reformatted libiMobileDevice error codes to match reporting values (negative numbers).
Fix string.
...
DOCX: Nested tables and block/run table styles
DOCX tables: override processing
Merge pull request #6 from GRiker/master

Filter device list for repeating entries (occurs under Windows occasionally).