PDF Output: Option to control title of generated Table of Contents

Fixes #1245076 [[Enhancement] Add PDF TOC Title, More Margin Options and ePub TOC Heading 1](https://bugs.launchpad.net/calibre/+bug/1245076)
Ebook viewer: remember inspector windows size

E-book viewer: Remember the size of the "Inspect" window used to examine
the book's code. Fixes #1245068 [Feature request: web inspector window size and font size](https://bugs.launchpad.net/calibre/+bug/1245068)
Driver for Lenovo IdeaPad

Fixes #1244857 [Lenovo android ideatab tablet not recognized](https://bugs.launchpad.net/calibre/+bug/1244857)
pep8
Option to check for duplicates while copying between libraries

Add an option to check for duplicates (books with the same title/author)
when copying between libraries. Option is under Preferences->Adding
books. Fixes #1245089 [When copying or moving book to different library, Calibre does not warn if possible duplicate exists in target library.](https://bugs.launchpad.net/calibre/+bug/1245089)
DOCX Input: Fix hyperlink showing as underlined even if the hyperlink style in word is set to not show underlines.
Fix comments editor in review metadata becoming too small

Fix comments editor in review metadata becoming too small
on small screens. Fixes #1245275 [review downloaded metadata doesn't show the comments field](https://bugs.launchpad.net/calibre/+bug/1245275)
Infrastructure for supporting translations of plugins
Basic parsing with the new html5lib lxml tree builder works
Fix html5 conversion parser not handling ascii control chars
Parse namespace prefixed <html:html> correctly
...
Ignore DataLossWarnings
Replace entities
Speed up parsing by not using element __bool__
Implement namespace less parsing
Fix parsing of foreign elements with discard_namespaces

Also small speedup by using direct attributes for the
name/namespace/nameTuple attributes.
Ensure that svg, mathml tags and xlink attrs have the standard namespace prefixes
Speed up parsing some more by using a faster stream class
Add support for line numbers to the HTML 5 parser