Turned renderThumbnail into re-usable macro
Merge branch 'newframework' into renderThumbnail

Conflicts:
	ui/macros/list.html
Merge pull request #2665 from nicolaasmatthijs/renderThumbnail

Re-usable renderThumbnail macro