bugfixes/new features for page loading times & search results

- homepage: immediate layout for masonry!
	- added style tags to images with width/height
	- image width is hard-coded to 268, height is calculated based on this
	- changed page-load JS to run on $(document).ready instead of window.onload

- homepage: hero loads faster
	- generate the src server-side with php so that browser downloads img immediately
	- old way of using js and window.onload meant browser had to load all images first
	  before any JS code was run

- search: masonry layout with thumbnails
Merge branch 'develop-matt' into develop