Moved more stuff into composer.json. Added preliminary Discourse functionality that will be in 1.11