Keep track of post instead of thread in reply_info
Don't nest reply_info variable in batch mail sender
Rename email replies => webhooks controller, add tests
mark_as_visited_for => mark_visited
email_webhooks#opened for markin threads as read
Compare dates with to_i (trying to fix a Travis failure)
Merge branch 'master' into email-open-tracking

Conflicts:
	app/controllers/api/posts_controller.rb
	app/controllers/api/subforums_controller.rb
	app/controllers/api/threads_controller.rb
	app/models/concerns/unread_and_visitable.rb
	test/test_helper.rb
Move valid reply info check into a before filter
Save instead of update because the record may be new
Prefix new reply info with v2-- for backwards compatibility
Include explicit message IDs and in-reply-to IDs for emails
Don't log spurious broadcast with 0 recipients
Only set In-Reply-To if a previous message id exists
Merge branch 'master' of https://github.com/hackerschool/community