Remove obsolete input module support.

This no longer works against libsigrok, which has an entirely new
API for input modules.
Remove broken assert().

This is no longer valid since c82c7e4 changed _data to a std::vector.
Make unit_size in Snapshot class unsigned.
Add missing default to switch/case block.
Rename 'probe' to 'channel' everywhere.
icons: Renamed probe.svg to channels.svg
Android: Bundle Qt libs with the APK
android: Minor whitespace fixes.
Make decoder popups close when pressing enter
Trace: Fixed a doxygen comment
Subclass QApplication to catch exceptions in handlers.
test/CMakeLists.txt: Fix build.
Replace ann_format with ann_class.

The naming has been changed to "annotation class" a while ago.
Use a generic approach when adding the "close on enter" hook for popups

Implement a generic approach to the "close on enter" feature
in popups by installing the key event handler on the first editable
widget it finds in the popup.
Generic auto-focusing for first line edit of popup

As there is a generic approach to hooking into the line edits
in popups, use that to also do auto-focus/auto-select-all.
Automatically save/restore main window state

Fix bug #326 by saving the main window state when closing and
restoring it on startup. The default window size is 1000x720 so
that the window can still be seen entirely when on a 1024x768 screen.
This wouldn't be the case with a default size of 1024x768.
Fix objectName warnings.

Fix the following warnings:

  QMainWindow::saveState(): 'objectName' not set for QToolBar 'Main Toolbar'
  QMainWindow::saveState(): 'objectName' not set for QToolBar 'Sampling Bar'
Adapt to config key capabilities.
Usage of std::thread requires linking with appropriate system thread library.

This fixes the following link error (on debian sid, gcc 4.9):

Linking CXX executable pulseview
/usr/bin/ld: CMakeFiles/pulseview.dir/pv/sigsession.cpp.o: undefined reference to symbol 'pthread_create@@GLIBC_2.2.5'
//lib/x86_64-linux-gnu/libpthread.so.0: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
CMakeFiles/pulseview.dir/build.make:2844: recipe for target 'pulseview' failed
Use QApplication metadata for persistent storage

Since the application metadata is set in application.c,
we should use it instead of providing it manually every
time we create a QSettings object.

As I understand it, subclassing QApplication in application.c
is only a workaround for bad Qt behavior. In the event
that it is removed, the application metadata should be moved
so that persistent storage still works.