add PBSManager
incorporate fixes from PBSManager into SGEManager