cleaned up the json returned for posts to work better with NSRails
added photo and thumb urls to json template for posts#index