Move init() to Init() so that flag.Parse() can be called first.

Otherwise the --log_dir flag doesn't affect where glog output goes to.

TBR=humper
BUG=skia:

Review URL: https://codereview.chromium.org/667493002
diff --git a/experimental/webtry/webtry.go b/experimental/webtry/webtry.go
index 2096f7d..830859c 100644
--- a/experimental/webtry/webtry.go
+++ b/experimental/webtry/webtry.go
@@ -139,7 +139,7 @@
 	return strings.Join(ret, "\n")
 }
 
-func init() {
+func Init() {
 	rand.Seed(time.Now().UnixNano())
 
 	// Change the current working directory to the directory of the executable.
@@ -952,6 +952,7 @@
 
 func main() {
 	flag.Parse()
+	Init()
 	http.HandleFunc("/i/", autogzip.HandleFunc(imageHandler))
 	http.HandleFunc("/w/", autogzip.HandleFunc(workspaceHandler))
 	http.HandleFunc("/recent/", autogzip.HandleFunc(recentHandler))