Logic for diff stats
Refactor
Merge branch 'master' into statistics

Conflicts:
	static/assets/js/codebrowser-min.js
Merge branch 'master' into statistics

Conflicts:
	static/assets/js/codebrowser-min.js
Remember difference types seperately
Small refactor
Re-render diff if necessary
Global differences
Global differences