[ai] Update some unit tests, and add @mock to AiAgent.idl
Test cover basic sequencing and node run states. Tick and update
method will pass in the agent for the behavior block. Locks to the
agent are added int he tree before walking.

Change-Id: I980cbb7bba01c588601b0c23cfa7950708074757