requested to merge rahulaggarwal965/zathura-pdf-mupdf:feature/selection into develop
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)
- Extracts the text if the text has not been extracted already. It stores this so we do not recompute for every page.
fz_highlight_selectionto get a list of quads
- Returns them through the plugin-api (and accounts for possible errors).