Refs #40, adds documentation to models.

Also fixes some inconsistencies in Notification::create(), User::set_avatar(), and Star::get_starred_posts().