Add Connection and ConnectListener classes

These classes provide the interfaces to MoleQueue communication.
They provide an abstraction to allow multiple transport
implementation. MoleQueue classes should only use these classes
for IPC.

Change-Id: Iae6630012b7ab383dba3db9197c757c09242214f
Add QLocalSocket implementation of Connection and ConnectionListener

Move QLocalSocket implementation into two new classes, LocalSocketConnection
and LocalSocketConnetionListener. Replace references to local sockets
with appropriate calls to the interfaces. This will allow alternative
transport to be added.

Change-Id: Id3ef58f57f26bd392a71ca1185c37d06286b0f4f
Update test cases to work against abstract transport layer

Update test cases to use LocalSocketConnection rather than
sockets directly.

Change-Id: I8a59ff50b63aab2591e2561a85ba860239ecc3b6
Remove reference to QLocalSocket in comments

Replace with the generic "Connection" as we don't
care what transport our rpc is over.

Change-Id: Ia251a2a5c0c456a3d74538bd1947e86dfeef6a2d
Add FindZeroMQ.cmake

Change-Id: Iedc779d2f65cd5c2f9d7e51a671d45198dcb5ce8
Add CMake files to generate export headers

Change-Id: I3a039ecaf7667d1749a916f25ed16468b75cb155
Refactor Connection and ConnectionListener interface for ZeroMq

Add new transport directory and subdirectories for each transport
type. Modified interfaces to work with ZeroMq. Provided ZeroMq
implementation. Packaged connection listeners as Qt plugins.

Change-Id: I8be81079402410169418c15233389ed2eab43b57
Add MoleQueue plugin manager

The plugin manager is based on code from avogadrolibs. Provides
mechanisms to load and manage Qt plugin. In MoleQueue the only
plugins currently used are connection listeners.

Change-Id: I9ab0dce86523c51f969d3203d15579bd956470b7
Refactor server and client classes to use transport interface

Update classes to use new Connection and ConnectionListener
interfaces.

Change-Id: Ia01f644dc06b94bf3d73a84abe6b0cb85db77d6f
Add testcase to test ZeroMq and local connections

Update testcases to work with ZeroMq as well as
local sockets. Add testcases to test ZeroMq
connections.

Change-Id: Iecd1e474b48f0598f2beadf9cb3371cfb07e73a8
Add MoleQueue namespace to slot

The definition of slots need to be fully qualified

Change-Id: Ia2320cbb2f2c21a49576ba7a2e97d1dd4cc6bf01
Restore MainWindow::showOpenWithManager lost in rebase

Change-Id: I8e047497c59df80308e6162c7a1d360986cbaea8
Add check to readSocket to check for additional packets

readSocket simple reads one packet, so if another package is
available it is missed. Add check for more bytes and
recursive call if necessary.

Change-Id: Ic781c382068511df9b4feba7b957ae742cb87999
Add test case for job state change notifications

Change-Id: I3984884f48dbed1d0c839796686ff28a7b961b82
Fix problems introduced by rebase merge conflicts

Change-Id: Ia923ef7c0e4ec2afb5c3fa971f93e4524ae3f07f
Clear up compile warnings

Add the appropriate Q_UNUSED(...)

Change-Id: I68e87addbbe0b1ff4020036d681d2e5f5e102524
Remove use of "this->"

This is not part of the coding standard

Change-Id: I5edfd33fb5850c71dd20037362a4bd68b4bbc62e
Make sure we run moc for all Qt tests

This fixes the compilation failure I was seeing.

Change-Id: I619cd0e04d78b2e902c575e5c5caf1b2fdb1accd
Merge topic 'zeromq-transport' into master

51e7481b Make sure we run moc for all Qt tests
f1c424fd Remove use of "this->"
c9673e1d Clear up compile warnings
36c6639d Fix problems introduced by rebase merge conflicts
e6000f9d Add test case for job state change notifications
1ae578d5 Add check to readSocket to check for additional packets
bc160a1d Restore MainWindow::showOpenWithManager lost in rebase
ec8aeeec Add MoleQueue namespace to slot
ddf2e302 Add testcase to test ZeroMq and local connections
9387da7a Refactor server and client classes to use transport interface
b546c359 Add MoleQueue plugin manager
029f89ab Refactor Connection and ConnectionListener interface for ZeroMq
1c3588f4 Add CMake files to generate export headers
bc0b4898 Add FindZeroMQ.cmake
87dbf938 Remove reference to QLocalSocket in comments
ee1eead7 Update test cases to work against abstract transport layer
7eec097f Add QLocalSocket implementation of Connection and ConnectionListener
efed99a2 Add Connection and ConnectListener classes