mod_announce, mod_auth_anonymous, mod_c2s, mod_c2s, mod_component, mod_iq, mod_message, mod_presence, mod_tls: Access prosody.{hosts,bare_sessions,full_sessions} instead of the old globals
mod_motd, mod_register, mod_private, mod_http_errors, mod_admin_adhoc: Remove unused imports
mod_roster: Remove unused variable
mod_groups: Use module API for reading config
mod_http: Import portmanager
mod_proxy65: Fix typo in comment
MUC: Access prosody.hosts instead of the old global hosts
core.*: Complete removal of all traces of the "core" section and section-related code.
mod_tls: More use of config sections removed
util.{prosodyctl,openssl}: More use of config sections removed
configmanager: Fix so unset variables are searched for in the global section
Merge 0.9->trunk