Updated this lil bitch finally, since 2.0.3 has gone live. Now uses Dongle and will track when your pet dies, so revive should cast on the first click now! It will also set a static macro when you enter combat, so it will always behave as you expect. For now the Mend threshold and keybinding must be set in the lua file, I'll get "real" options in sometime.
To use, make a macro:
And as always, grab it at GCode or WoWI