I just had a brain fart, and thought I'd post it here before I forget it. /afk will enable invincibility or "god mode" When the player starts walking, it automatically turns off.
Done. It also turns off when you swing your arm. Uploaded here: http://forums.bukkit.org/threads/mech-afkgod-v1-0-godmode-while-afk-122.2038/#post-24018
Except, this wont work that way, because a player could attack you, move you, or hit you with tnt/creeper, which would move the player and break afk.
Oh wow, thanks for filling the request and taking on the task! I see the release thread was listed as broken. Will keep an eye on it though