Rename variable model to agent in agent POST

This looks better and is more consistent with how we name our variables
in just about every other request handler.

No change in functionality.
Merge pull request #304 from guidow/rename_model_to_agent

Rename variable model to agent in agent POST