toutf8 improved & add max git diff lines
Merge branch 'dev' of github.com:gogits/gogs into dev

Conflicts:
	conf/app.ini