[ctioga2] make -X much smarter about which pdf viewer to use

git-svn-id: svn+ssh://rubyforge.org/var/svn/ctioga2/trunk/ctioga2@522 86c91514-0d3b-42e0-aed1-4dfce116d947