libs: add masonry.js
util: add elementInDom utility
test: use multiple images in gridView test
gridView: add masonry to GridView