Update counts for discussions and motions

add a progress bar and reset_column_information calls
fixes #1561
Merge pull request #1562 from loomio/fix-invite-when-logged-out

fixes #1561
Add comments api
Merge pull request #1557 from loomio/comments-api

Small API for comments for the upcoming email2api gateway
Merge pull request #1522 from loomio/update-discussion-counts

Update discussion counts on archive
split migratsion for deploy
eek
eek
fixing intercom stats
Merge branch 'master' into rails-4

Conflicts:
	app/models/motion.rb
	config/routes.rb