Fixed docs: HasErrors is a method not a variable
Merge pull request #716 from 4eek/docfix-validations-HasErrors

Fixed docs: HasErrors is a method not a variable
middleware: error page set the content-type
fix #718
Merge branch 'master' into develop
beego:parse judge weather the commentsRouter exist
cache: fix comments the return err
fix the comment of SliceIntersect

The implementations of SliceDiff and SliceIntersect are the same.
However, the comments of them are opposite.
The former is (slice1 - slice2) while the latter is (slice2- slice1)
Merge pull request #720 from MicroMoon/patch-1

revise the comment of SliceIntersect
Merge branch 'develop' of https://github.com/astaxie/beego into develop
beego: improve the static file server
session: support cookie domain
move filter wrong http method
beego: commentsrouter use the workPath fix #708
fix when delete the commentsRouter.go
beego: Display function move from toolbox to utils
beego: fix the domain string
fix #703
Merge branch 'develop' of https://github.com/astaxie/beego into develop
beego: template fund when the start> len(bt)