Added adapter for Sun Grid Engine.

The new adapter is a copy of the PBS adapter,
modified to play nice with SGE.