Change includes to use fully qualified paths in preparation for porting to cmake
Rename "be.contacts" files to "be-contacts" in preparation for cmake

Looks like cmake's logic is heavily affected by the dots in file names -- it
essentially strips away anything which comes after the dot when performing
automocing.
Remove unimplemented method declaration

For some reason, the cmake-based setup with static libraries hates this.
AbstractCache: implement virtual destructor to make cmake's builds happy

Let's also de-inline the constructor while we're at this.
tests: Make sure that a failed mail submission prevents proceeding any further

This, unfortunately, does not help with the QwwSmtpClient because it happily
emits done(true) even after hitting errors earlier in the process. This will be
addressed in the next commit.

CCBUG: 321272
SMTP: do not signal success after hitting a failure earlier on

OK, this is some ugly code -- but it appears that it makes QwwSmtpClient more or
less work. That class is in a bad need for replacement :(.

The problem was that the onDisconnected event handler within the QwwSmtpClient
simply checked whether there are any pending commands, and if there are none, it
proceeded further towards emitting success even though the connection has never
succeeded. This is a wrong assumption in the client's code -- signalling success
just because the connection was severed before any command had a chance to be
queued is not what I would expect when using such component.

This code does *not* prevent duplicate signals about success, but I have yet to
see a situation where it breaks something.

BUG: 321272
REVIEW: 111073
Merge branch 'bug-321272'
GUI: respect the ResizeMode when restoring the user's preference

Turns out that restoring sizes of sections which are not supposed to be
resizeable by user makes hte sizes very, very messy and makes the QHeaderView
forge the desired resizing mode as well.

REVIEW: 111076
qmake: put the gitversion into an extra file to be included
Fix building with QT_STRICT_ITERATORS
Importing the FindRagel.cmake from http://cgit.lighttpd.net/lighttpd/lighttpd2.git/tree/cmake/FindRagel.cmake
Importing from https://github.com/cryos/avogadro/blob/master/cmake/modules/FindLinguist.cmake
GUI: implement LoadablePartWidget::reloadContents

BUG: 321322
GUI: enable loading of cached items not immediately shown when offline

Previously, the second part of a multipart/alternative (i.e. something which is
not shown on startup) was replaced by a label showing "Offline" even though the
actual data were available in the cache. That was not correct.
cmake: Add the cmake-based setup

This is squashed from many commits, hence the huge blob.

The answers at
http://stackoverflow.com/questions/3780667/use-cmake-to-get-build-time-svn-revision
were more than inspiring when fixing the gitversion thing.

Thanks to Caspar who reported a failure when no .po files are around, the
Debian's linker's nature when it comes to linking with non-listed DSOs, etc.

The minimal required CMake version is 2.8.7 for Qt4 builds (that's what gets
shipped on the oldest supported Ubuntu). When building Qt5, we have to use 2.8.9
or newer, otherwise the qt5_use_modules macro is not available.

The build setup for the Harmattan version was shamelessly stolen from KDE's work
-- huge thanks to those who committed that to their repositories.
travis: switch to cmake and fix related issues

This is squashed from several commits.
www: update instructions to use cmake

Thanks to Caspar for his comments.
packaging: switch to cmake and remove unsupported distributions
Remove the qmake buildsystem
Merge branch 'headerview-section-size'