Some tweaks to make this work against RunDeck 1.4.x first.

Upping the RunDeck API version to 6 or newer should allow for
compatibility with 2.0 and newer.