This PR utilizes the fitz module from mupdf to extract a list of rectangles representing the current selection between two points. This will be used to close zathura#26 (closed)
It will
- Extracts the text if the text has not been extracted already. It stores this so we do not recompute for every page.
- uses
fz_highlight_selection
to get a list of quads - Returns them through the plugin-api (and accounts for possible errors).