set LD_LIBRARY_PATH for Gecode
create a screenshot function

The screen shot function depends on imagemagick and needs to be installed.

Usage: call screenshot [window]
  argument of window will result in the current window to be screen captured,
  otherwise it is just the root window