make libgrip gestures optional in autoconf

This makes it compile on Fedora (getting libgrip etc all looks nontrivial).

Should still autodetect on ubuntu but its controllable with "./configure --without-libgrip" or "./configure --with-libgrip"

Hope I've done this right: I'm no autotools expert!