core: Add 'deps' example to default zotonic.config file
mod_base: merge from release
mod_survey: add empty prep_chart/3 for open questions. Fixes #831
core: move email domain functions from z_email_server to z_email and make them available to other routines.
core: Add rebar_lock_deps plugin to freeze the dependencies of release branches

Squashed commit of the following:

commit 3b493ff9732adb3ba1fc152821a1b0ef7e69eead
Author: Arjan Scherpenisse <arjan@scherpenisse.net>
Date:   Wed Oct 1 11:48:36 2014 +0200

    core: Add rebar.config.lock

commit e9597db453c31823d9771f9649ae020d3888d25a
Author: Arjan Scherpenisse <arjan@scherpenisse.net>
Date:   Wed Oct 1 09:20:27 2014 +0200

    Add lock-deps plugin. Fails with an undef error though.
mod_acl_simple_roles: add module names to titles
core: Add "zotonic modules sync-branches" subcommand

This command tries to align external modules to the current Zotonic
release branch.

e.g. when you have an external module with a branch named
release-0.11.x, the module will be checked out using that branch when
sync-modules is ran or when the module is newly installed.
core: on lost session, only show reload dialog iff there are filled in textareas, otherwise reload the page.
mod_oauth: change required access to mod_oauth

instead of mod_admin
add bootstrap formatting
doc: Upgrade notes: mention changed location of sites and ext modules
mod_oauth: No ACL check on authorize URL; just check if logged in
Add release notes for 0.10.2

(cherry picked from commit fecba8ef57160ce1c4cdcdbb5d0090c70d172f00)
mod_oauth: Fix API access check on admin oauth apps page
authentication: Prevent sending reminder mail twice if username =:= email address
core: export extract_filters/3 for testing.
core: fix a problem where a combination of an image filter and a mediaclass containing lossless results in a failed checksum check.
DOCFIX: z_acl:sudo is needed for setting password

In a typical configuration mod_auth_adminonly is used and it enforces
a requirement of z_acl:sudo privileges on attempts to set user
passwords.
Add missing closing parenthesis
core: Fix rebar locks file
doc: typo