Update httplib.go

httplib针对的是客户端的http请求，所以应该用"Cookie",而不是"Set_Cookie"
Merge pull request #389 from 1fei/master

Update httplib.go
Update conn.go

使用json直接初始化相关变量，代码更简单。如果把协议的首字母改大写会更简单，但不好改谢大的协议。
Update console.go

使用json直接初始化系统变量，代码更简单，并且便于后期扩展
Update file.go
Update smtp.go
Merge pull request #390 from 1fei/master

更新logs的初始化部分
#390 should use filepath.Dir instead of path.Dir for.
fix type HasTemplateEXt to HasTemplateExt
Merge branch 'master' of https://github.com/astaxie/beego
beego 1.0 release
fix #391
add api comments in file admin.go
Merge pull request #394 from fuxiaohei/master

add api comments in file admin.go
fix: re-parse config in windows
fix routing bug
Merge pull request #397 from pengfei-xue/devel

fix routing bug
reverse pull request 397, it not a bug. Just should this way
repaired the wrong IP when using in localhost (Mac os x)

it returns “[“ when using beego in local host(Mac os x 10.9) , it
appears that Request.remoAddr returns “[::1]:****”
add api comments in file app.go