veyron/security/agent: Bugfix and tests.

When using an agent, Principal.Roots().Recognized() was doing
the wrong thing. Fixed that (see client.go) and added an integration
tests for methods on the Principal for a process running under the
agent.

Without the change to client.go (and with the change to test.sh),
the test fails with:
agentd: test_principal...vanadium/release/go/src/v.io/core/veyron/security/agent/test_principal/main.go:73:
Roots().Recognized returned nil

Change-Id: Ifa7b79755abf0799e147c14c62de7ec0e7b168a2
5 files changed
tree: e41ba905080c63add4a737abf5def9cb0b22f9c0
  1. lib/
  2. profiles/
  3. runtimes/
  4. security/
  5. services/
  6. tools/