root: add --with-qt option

Added option to enable (or, by default, disable) Qt graphics
backend and GSI's Qt integration.

Closes #678.