Rename settingspages.inc to settingspages.cmake

While CMake itself doesn't care about the file extension, it seems to make
recent KDevelop crash.
Fix expression in IrcEvent::create()

We need to inverse the mask, obviously. Thanks to Tucos for pointing
this out.
Fix the Phonon notification backend not playing any sound

Phonon won't report its capabilities before a player has been created,
which leads to Quassel thinking that it can't play audio since we checked
for that before instantiating the player.

Some reordering in the ctor fixes this.
Avoid Phonon's deprecation warnings

MediaSource prefers a QUrl now. This shouldn't break with older Phonon
versions, I hope, since it seems MediaSource(QUrl) has been around since
forever.
Enable the ping timeout as soon as the connection to IRC is open.

This fixes the problem where Quassel would get stuck while connecting
if the socket is closed by the server but the core is, for whatever
reason, not notified of this.  This patch works by enabling the ping
timeout as soon as the connection is open, but not actually sending any
PINGs until the IRC authentication is complete.  This will cause the core
to reconnect if at any point it doesn't receive data from the server for
more than the usual ping timeout interval.

Fixes #1249
Add function in bufferinfo.cpp to report if chat messages are accepted

This works around https://github.com/sandsmark/QuasselDroid/issues/98 on
the server side by preventing new buffers from being created if the user
accidentally (or maliciously) attempts to send chat messages in status buffers.
Previously, this would have screwed up the status buffer requiring a manual
DB query to fix.  This should be fixed in Quasseldroid quite soon, but this
patch will just ensure that the core's DB does not get corrupted by older
Quasseldroid clients if the users do not update.
Add QUrl include for Phonon

Looks like some Qt versions just forward-declare QUrl, so this is
needed.
Make sure that clients can't access buffers belonging to other users

A manipulated, but properly authenticated client was able to retrieve
the backlog of other users on the same core in some cases by providing
an appropriate BufferID to the storage engine. Note that proper
authentication was still required, so exploiting this requires
malicious users on your core. This commit fixes this issue by ensuring
that foreign BufferIDs are off-limits.
Add the "Copy Selection" context menu item after checking for chat items

When right clicking a channel, Quassel will drop all other items from
the context menu.
We work around this by checking for a selection after everything else
has been added to the menu, and make sure to add the Copy Selection item
at the top.

Fixes issues #1031 and #1048
Fix context menu not being restored properly

When showing a context menu on a clickable, we used to hide existing
context menu item to avoid confusing the user. However, those actions
were never unhidden again. This resulted in the context menu not showing
most options ever again in subsequent invocations.

Instead of hiding the actions, we now just clear the menu.
Add separator after "Copy Selection" context menu

This went away with the commit fixing the menu for selections on
clickables, and is now being brought back.
Update AboutDlg

Some new contributors deserve mentioning.
Update ChangeLog
Fix grammar bug in ChatViewSettings

Thanks to Redmar over at Launchpad for noticing.
update translation files according to previous commit
Update translations from Transifex

Many thanks to:
 - cs: Vít Pelčák <vit@pelcak.org>
 - da: furyfire <frazzer@hotmail.com>
 - de: m4yer <m4yer+quassel@minad.de>, ToBeFree <tobias@freiwuppertal.de>, Heffer <felix@fetzig.org>
 - eo: cordata <tiffypet@yahoo.com>
 - fi: Larso <larso@gmx.com>
 - fr: Dorian <munto@free.fr>, GrecKo <gr3cko@gmail.com>
 - gl: Condex <elgomaisa@gmail.com>
 - hi: libregeekingkid <rajuvindane@gmail.com>
 - hu: ulysses <ulysses@kubuntu.org>
 - mr: libregeekingkid <rajuvindane@gmail.com>
 - nl: simonphilips <simon.philips@gmail.com>
 - oc: Cedric31 <cvalmary@yahoo.fr>
 - pl: derpella <matwa@poczta.pl>
 - pl: Marcin Jabrzyk <marcin.jabrzyk@gmail.com>
 - pt_BR: Pad <pedroaraujo@colorlesscube.com>
 - ro: roentgen <arthur.titeica@gmail.com>
 - sr: JovanJ <jovanjojkic@gmail.com>
 - tr: volkangezer <volkangezer@gmail.com>, zeugma <sunder67@hotmail.com>
 - uk: Yuri Chornoivan <yurchor@ukr.net>
 - zh_CN: leonfeng <rainofchaos@gmail.com>
Update ChangeLog

We had to postpone the release by a day.
Bump version.inc for release
Make sys includes POSIX-compliant

We're using <sys/resources.h> in quassel.cpp for the backtrace generation
stuff. Documentation for that header indicates that <sys/time.h> shall also
be included (even though it doesn't seem to be needed for our usage).
Additionally, compiling started to fail in recent FreeBSD versions, because
we lacked the <sys/types.h> include, which seems to be mandated by POSIX
(but not on Linux, although it won't hurt to have it).

tl;dr: This should make Quassel compile on recent versions of FreeBSD again.