Fix bug where beeminder intents weren't transmittig with a payload.

Plus extra debugging in cmdline tools.