fix: AppPath is wrong. Move BeeLogger to config.go init.
fix router Put and Delete method when post method with _method
when method is POST then to parse form
_method also must support user defined router
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