Update masonry to 3.1.2, taken from http://masonry.desandro.com/
Merge pull request #2157 from neoascetic/masonry

Update masonry to 3.1.2