lib: change relative import path to absolute.

This is mainly because the "goimports" tool always puts absolute import
paths to those files whenever I edit those files. But please let me know
if there is a reason of using relative imports in this case.

Also update the import order of ibe/bb1.go

Change-Id: I3a01812e7873976b0a9a093acfa4a10a01d7b220
diff --git a/cmdline/testdata/exitcode.go b/cmdline/testdata/exitcode.go
index 24303e9..7bc8a44 100644
--- a/cmdline/testdata/exitcode.go
+++ b/cmdline/testdata/exitcode.go
@@ -4,9 +4,7 @@
 
 package main
 
-import (
-	".."
-)
+import "v.io/x/lib/cmdline"
 
 // cmdExitCode represents the exitcode command.
 var cmdExitCode = &cmdline.Command{
diff --git a/cmdline/testdata/flat.go b/cmdline/testdata/flat.go
index 7aa0c08..6366c24 100644
--- a/cmdline/testdata/flat.go
+++ b/cmdline/testdata/flat.go
@@ -4,9 +4,7 @@
 
 package main
 
-import (
-	".."
-)
+import "v.io/x/lib/cmdline"
 
 // cmdFlat represents the flat command.
 var cmdFlat = &cmdline.Command{
diff --git a/cmdline/testdata/nested.go b/cmdline/testdata/nested.go
index cf9826c..fb57de2 100644
--- a/cmdline/testdata/nested.go
+++ b/cmdline/testdata/nested.go
@@ -4,9 +4,7 @@
 
 package main
 
-import (
-	".."
-)
+import "v.io/x/lib/cmdline"
 
 // cmdNested represents the nested command.
 var cmdNested = &cmdline.Command{
diff --git a/cmdline/testdata/repeated.go b/cmdline/testdata/repeated.go
index ad6775b..c4c6e73 100644
--- a/cmdline/testdata/repeated.go
+++ b/cmdline/testdata/repeated.go
@@ -4,9 +4,7 @@
 
 package main
 
-import (
-	".."
-)
+import "v.io/x/lib/cmdline"
 
 // cmdRepeated represents the repeated command.
 var cmdRepeated = &cmdline.Command{
diff --git a/ibe/.api b/ibe/.api
new file mode 100644
index 0000000..dcdc2f2
--- /dev/null
+++ b/ibe/.api
@@ -0,0 +1,10 @@
+pkg ibe, func SetupBB1() (Master, error)
+pkg ibe, type Ciphertext [160]byte
+pkg ibe, type Master interface { Extract, Params }
+pkg ibe, type Master interface, Extract(string) (PrivateKey, error)
+pkg ibe, type Master interface, Params() Params
+pkg ibe, type Params interface { Encrypt }
+pkg ibe, type Params interface, Encrypt(string, *Plaintext, *Ciphertext) error
+pkg ibe, type Plaintext [32]byte
+pkg ibe, type PrivateKey interface { Decrypt }
+pkg ibe, type PrivateKey interface, Decrypt(*Ciphertext, *Plaintext) error
diff --git a/ibe/bb1.go b/ibe/bb1.go
index 12ad391..782f163 100644
--- a/ibe/bb1.go
+++ b/ibe/bb1.go
@@ -16,8 +16,9 @@
 	"crypto/sha256"
 	"errors"
 	"fmt"
-	"golang.org/x/crypto/bn256"
 	"math/big"
+
+	"golang.org/x/crypto/bn256"
 )
 
 var errBadCiphertext = errors.New("invalid ciphertext")