Group discussions!

Includes creating new threads and posting messages to threads.
Add Discussion models to public export list.
DB migration scripts.

Also, fix local db migration script to account for recent config
refactor.