Update template.go

We can specify "TemplateLeft" and "TemplateRight" but they did not work as these two changes are required.
Merge pull request #287 from francoishill/patch-1

Update template.go
fix #286

the process exit and the channel info can't flush to console
support profile & statistics in another port
fix runrouter is nil
Improve monitoring management module
UrlMap fix to StatisticsMap
improve the output fomate
delete back info
improve the admin module
admin filter finish to all router include static file

so if your web is need auth or release the resoure you can writer the
finish filter
add more feture in admin

1，增加QPS的限制
2，增加任务
3，增加healthcheck
add file cache, thanks to gouki
#294
change admin to toolbox & support task
add test for task
fix #304
http.ResponseWriter doesn't implement  WriteCloser interface 

The removed code will never be executed, remove it
Merge pull request #306 from pengfei-xue/patch-1

http.ResponseWriter doesn't implement  WriteCloser interface
change third repo from other to beego