Fixed a build problem on some hosts.

* src/Makefile.am (epdfinfo_LDADD): Put -lz at the end.
Fixed a test problem.

* tests/Makefile.am (TESTS_ENVIRONMENT): Add srcdir to load-path.
Fixed build problem with old poppler verions.

* src/poppler-hack.cc:Don't try to define
poppler_annot_set_rectangle if it's not needed and may fail.
Fixed a printf format problem.

* src/epdfinfo.c (print_attachment): Use correct conversion format.
Make double-clicks work again.

* lisp/pdf-misc.el: Make double-clicks work on region hotspots.
(pdf-misc-minor-mode):Bind the map symbol to
`pdf-misc-text-region-keymap'. By default this keymap diverts all
events to their regular (w/o map symbol) versions.
(pdf-misc-mouse-set-region):Always unread the last event. Use
push-mark instead of setting transient-mark-mode.  Since
pdf-render-with-redraw is pretty slow, only use if necessary.
(pdf-misc-text-regions-hotspots-function):Renamed map symbol to
the more appropriate pdf-misc-text-region.

* lisp/pdf-util.el (pdf-util-image-map-mouse-click-proxy): Renamed.