Works with Heroku deployment, Added MasonryJS UI for pictures index

I merged with Elena's changes, so this should be good to go.