Add 'agent_mongodb_endpoint' resource option.

Enables the agent to connect to the mongodb through a different address.
Generally this is used through an ssh tunnel.