x/ref: Restructure services/agent to follow conventions.

Here are the renamings:

services/agent/*.go            -> services/agent/agentlib
services/agent/server          -> services/agent/internal/server
services/agent/server/wire.vdl -> services/agent/wire.vdl

For reference, our convention is as follows:

services/gizmo          - VDL files, the "API"
services/gizmo/gizmo    - Client tool binary
services/gizmo/gizmod   - Server daemon binary
services/gizmo/gizmolib - Library used by others

Change-Id: Ia0a821f142944a3ce18462e3f084014e47700463
diff --git a/services/agent/agentlib/v23_test.go b/services/agent/agentlib/v23_test.go
new file mode 100644
index 0000000..3e4061b
--- /dev/null
+++ b/services/agent/agentlib/v23_test.go
@@ -0,0 +1,50 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
+// This file was auto-generated via go generate.
+// DO NOT UPDATE MANUALLY
+package agentlib_test
+
+import "fmt"
+import "testing"
+import "os"
+
+import "v.io/x/ref/test"
+import "v.io/x/ref/test/modules"
+import "v.io/x/ref/test/v23tests"
+
+func init() {
+	modules.RegisterChild("getPrincipalAndHang", ``, getPrincipalAndHang)
+}
+
+func TestMain(m *testing.M) {
+	test.Init()
+	if modules.IsModulesChildProcess() {
+		if err := modules.Dispatch(); err != nil {
+			fmt.Fprintf(os.Stderr, "modules.Dispatch failed: %v\n", err)
+			os.Exit(1)
+		}
+		return
+	}
+	cleanup := v23tests.UseSharedBinDir()
+	r := m.Run()
+	cleanup()
+	os.Exit(r)
+}
+
+func TestV23TestPassPhraseUse(t *testing.T) {
+	v23tests.RunTest(t, V23TestTestPassPhraseUse)
+}
+
+func TestV23AllPrincipalMethods(t *testing.T) {
+	v23tests.RunTest(t, V23TestAllPrincipalMethods)
+}
+
+func TestV23AgentProcesses(t *testing.T) {
+	v23tests.RunTest(t, V23TestAgentProcesses)
+}
+
+func TestV23AgentRestartExitCode(t *testing.T) {
+	v23tests.RunTest(t, V23TestAgentRestartExitCode)
+}