News feed function and style, chat update.

New queries written for chat - unique friend messages displayed. News
feed update - users can post photos.