e-proxy: Eliminate use of undefined C behaviour

As much as this works fine in practice (because the function returns an
error, so mask->s_addr should never be used), we should avoid undefined
behaviour. Apparently it kills kittens.

Coverity issue: #1214484

https://bugzilla.gnome.org/show_bug.cgi?id=730379
secret-monitor: Remove duplicate assignment

Coverity issue: #1214503

https://bugzilla.gnome.org/show_bug.cgi?id=730371
addressbook: Fix some potential NULL pointer dereferences with SQL

The PreflightContext.constraints field may be NULL, especially when
calling query_preflight() with a newly-initialised context from
PREFLIGHT_CONTEXT_INIT.

Coverity issues: #1214492, #1214493

https://bugzilla.gnome.org/show_bug.cgi?id=730373
camel: Print a warning on failing to save migrated maildir version

Rather than ignoring potential failure completely.

Coverity issue: #1214488

https://bugzilla.gnome.org/show_bug.cgi?id=730375
camel: Avoid an unlikely division by zero on a race condition

This is a subtle and really unlikely TOCTTOU race which Coverity found.
Fix the potential division by zero which results from it.

Coverity issue: #1061271

https://bugzilla.gnome.org/show_bug.cgi?id=730376
addressbook: Add bounds checking to a summary file function

There was not a bug here, as the len parameter always came from a
guint16, so no overflow was possible. However, a bounds check is always
a good idea and makes the code more robust in the face of future
changes.

Coverity issue: #1061517

https://bugzilla.gnome.org/show_bug.cgi?id=730381
Bug #728976 - [IMAPx] Ignore \NoSelect for Inbox folder
addressbook: Fix cancellable handling if not in a transaction

If not in a transaction, ebsql_exec() will set a temporary GCancellable
for the operation (transactions set their own), but would then
erroneously clear *all* cancellables after the query finished; even
those set by transactions.

Coverity issue: #1214491

https://bugzilla.gnome.org/show_bug.cgi?id=730374
camel: Avoid an unlikely division by zero failure

Coverity issue: #1061270

https://bugzilla.gnome.org/show_bug.cgi?id=730376
addressbook: Strengthen an assertion to avoid negative bit shifts

This should never happen in practice, but it is good to be completely
explicit in the assertion.

Coverity issue: #1214485

https://bugzilla.gnome.org/show_bug.cgi?id=730378
Bug #730398 - [WebDAV] Incorrect cache clean-up after book view cancel
[IMAPx] Add "Number of concurrent connections to use" UI option
Updated Polish translation
Updated Brazilian Portuguese translation
Updated Indonesian translation
[EBookBackendGoogle] Guard private 'groups' members with a lock

The 'groups' related private member scan be read/write from multiple
threads simultaneously, thus guard them with a lock. Maybe it is
related to bug #725045, maybe not.
Bug #725045 - Crash updating Google book's contact with photo
[EBookBackendGoogle] Do not store active views in its own way

Storing active views on its own has these issues:
a) it is already done in EBookBackend itself
b) referencing issues - the backend can leak without proper dereference
c) reuse EBookBackend code (not only the structure) where applicable

As a side-effect, some other memory leaks had been fixed as well.
[EBookBackendGoogle] Serialize group list update and cache update

The cache update requires system groups to be available, thus
in some corner case, when get_groups() finished after get_new_contacts()
the get_new_contacts() simply fails and no contacts are read.
The serialization of the two updates ensures the system groups
are available when needed.
Bug #730281 - [CalDAV] Recover after temporary connection lost