core: No code changes, just cleaning up and reformating according to Emacs Erlang mode before making actual changes
core: Fix: z_utils:get_path returns incorrect path to priv folder when Zotonic is released with reltool and loaded from an .ez archive file
mod_admin_identity: fix for update_done notifications other than insert and update.
doc: Fix RST warning in controller_lib
doc: Add paragraph about multiple assignments to `with` tag docs
core: Check z_session_page timeouts in a much cheaper way.
core: Fixed check_timeout/1 export
core: rename z_session_page trigger timeout function
doc: Document the arguments of the "lazy" scomp
mod_base: Add z_stream_restart() function to zotonic-1.0.js

When the session cookie changes (e.g. when doing an inline login
without a page refresh), the WebSocket stream needs to be restarted to
pick up the new cookie, otherwise the stream keeps using the previous
cookie for subsequent messages.
core: Include the request hostname in a dispatch rewrite notification
core: all acl checks has to pass.
deps: new gen_smtp

Subject encoding bugfix
mod_base: remove all zmodal masks when removing existing zmodals.
core: psql: better error message for insert/delete
mod_survey: Removed 2 obsolete templates
mod_survey: New question type "multiple choice"

The multiple choice option also has the option that the multiple
choice is a numeric value, in which case an overview of the total
value will be shown in the printable list and beneath the survey pie
chart. This is useful for creating forms which require you to enter an
amount or quantity, e.g. for a reservation system.

One drawback: choice values cannot currently be translated. But in
that case use the thurstone question type.

Also documented the survey question types somewhat.
core: give informational error when ua_classifier could not load during startup. Issue #496
mod_admin_identity: added #identity_verified{} notitication. Used to mark a verified identity to an user.
core: ensure resource ids passed to the ACL are integers. This makes ACL modules simpler.