Return error from initStatic().
TestInitStatic().
Update of structures doc with periodic mention.
REST api to compute a bucket's subdir given a name.

This replaces the (already deleted) bucketpath tool.

One downside of this approach is that the server must be running
in order to compute the bucket subdir.
Changed /_api/bucketPath to a GET.

Because it's not creating anything, just running a hash function.
Refactored out testRestGet() helper.

Also made TestRestGetBucketPath().
Implement couchDbDelDesignDoc().
TestCouchDelDesignDoc().
Helper func testRestMethod().
TestRestDeleteBucket().
TestCreateBucket().
Errorf go vet fix.
Implicit exit() after flag.Usage().
TestRestPostBucket().
TestCouchGetDesignDoc().
TestVBucketExpire().
Added cbgb VERSION to /_api/runtme REST response.
go fmt.
Moved varios view structs to view.go.
Moved vbucket state change structs to vbucket_state.go.