[Build] Add autogen.sh script to call `autoreconf -i`

Even when using autoreconf an autogen.sh script is usually expected, as
it save users from needing to know which flags to pass to autoreconf
(ie. '-i').

It is also usually responsible of launching autoreconf from the right
directory, calling utilities like intltoolize and gtkdocize, checking
out git submodules and running ./configure unless $NOCONFIGURE is set.

Signed-off-by: Emanuele Aina <emanuele.aina@collabora.com>
[Processor] Fix a potential crash when quitting the app

Signed-off-by: Regis Merlino <regis.merlino@intel.com>
This is the second fix for https://github.com/01org/dleyna-renderer/issues/69.

The first fix correctly ensured that all queues were cancelled when shutting down
but unfortunately the queue cancellation code was buggy.  It could result in a
hash table entry being removed from a hash table during a call to g_hash_table_for_each.
This meant that if multiple devices were being constructed at once, not all of
the queues responsible for device construction got cancelled.  The uncancelled queues
were executing code during shutdown which lead to nasty things happening.

Signed-off-by: Mark Ryan <mark.d.ryan@intel.com>