Make qt an optional dependency

Build depends on qt only if Gist support is required (the default).
Replaced '--without-qt' option with '--without-gist' for clarity,
and added explanatory text for the '--with-mpfr' option.