Added beginnings of user profile view.
Added attributes generator function to Snippet model.

Easier to loop over values in model in snippet view.