Refactor the group code, display images in a group

Took advantage of render's ability to iterate over an array for us
Extracted join and leave capabilities into the user model
Added the display of images to the show page for a group to which those
images belong.