Merge pull request #39 from AdamMajer/master

This fixes segfaults trying to use the QAMQP::Client constructor with passed QUrl
cmake: add cmake support

Use standard GNU installation directories. Headers are installed under
${includedir}/qamqp.
Merge pull request #40 from open-rnd/cmake-support

cmake: add cmake support
use Q_Q/Q_D from Qt rather than P_Q/P_D, style cleanups for Qt coding style
delete exception-related code, as Qt does not officially support them anymore
remove old build files, added tests directory
moved qamqp cli code to a manual test
move library files to src directory
rename and move pro files
turn qamqp into a proper library, set up test dir structure, moved qamqp test app to manual test
rename amqp => amqp_client
namespace cleanup
export it all! this may be unnecessary, more investigation needed
added dummy auto tests
missed a few namespace cleanups
renamed open/close methods to connectToHost/disconnectFromHost (to mirror Qt socket API), added the first auto tests!
remove needless function duplication in private class
remove crufty unused functions, used constBegin/End for iterations, store itEnd during loop, various other cleanups
merge Queue::purge and QueuePrivate::purge
merge _q_body/_q_content from QueuePrivate to Queue
merge more code from private functions to Queue class