Add policy definitions to avoid warnings from cmake 3.0.0
Add QtMacExtras detection for Qt5 support
Add command line option to define the location of the self made utilities
Remove gettext framework support. Add libmagic framework support.
Improved QtConfigureOptions (for Qt5.3).
Remove unused code.
Add check for the link for libmagic.dylib.
Use QProxyStyle instead of QMacStyle. QMacStyle is not available anymore with At5 and QProxyStyle is present since Qt4.6 as an alternative
Make BiblioInfo::collectCitedEntries private (since it can be),
and fix a comment referring to it.
Insert menu accelerator 'x' now goes to box menu

Before, 'x' would go to "TeX Code" but that already has a shortcut
in the common bind files.

Reported and discussed on lyx-devel at:
https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg185082.html
Cmake build: Use find_package(Qt5X11Extras ...) independent of OS

We need to know, if Qt5 is built over X11 in order to test with
xvkbd, which manipulates XEvents.
Qt5X11Extras is independent of underlying OS.
Correct the method signature of MenuTranslator::translate for Qt5
FSPathMakeRef is deprecated: use LSOpenFromURLSpec instead of LSOpenFromRefSpec
Remove special GlobalMenuBar class. As Patrick De Visschere pointed out it is not needed. The shortcut handling of Qt does it internally now what GlobalMenuBar was made for.
Remove superfluous class definitions.
Reintroduce some class definitions.
Qt5MacExtras is required on a Mac; report the version of Qt5
support for the LaTeX commands \x***arrow

- this patch supports the \x***arrow commands provided by the mathtool package
- fileformat change
FORMAT: document latest file format change
Fix stalling of keytests when invalid DISPLAY

Before, the keytests would run infinitely if the
tests were run, e.g. through SSH without X forwarding.
To reproduce that problem, run

  DISPLAY='' ctest -R hello

This commit causes the test to correctly fail in such situations.
(Collaboration with Scott Kostyshak)