Fix martini.Root for `go test` & `go run` use cases

fix for PR: https://github.com/go-martini/martini/pull/273 & issue https://github.com/go-martini/martini/issues/278