[Push] Fix BUG: RSU cannot push files to Rygel

Rework HTTP requests handling
- Add HTTP HEAD requests support.
- Improve the "getcontentFeatures.dlna.org” request header handling in accordance
with the DLNA specifications.

if “getcontentFeatures.dlna.org” header is present in HTTP GET/HEAD requests, then
if its value is correct (i.e: "1") then we add the “contentFeatures.dlna.org” header
in the HTTP response, else if its value is invalid we return a HTTP "BAD request" error.

if “getcontentFeatures.dlna.org” header is not present in HTTP GET/HEAD requests,
“contentFeatures.dlna.org” header won't be set in the HTTP response.

https://github.com/01org/renderer-service-upnp/issues/81

Signed-off-by: Christophe Guiraud <christophe.guiraud@intel.com>
[Push] GUPnP-DLNA API update

- Update the call to the gupnp_dlna_profile_guesser_guess_profile_sync(...)
to match a change in its signature.
- Bump GUPnP-DLNA Library required version to 0.9.4.

Signed-off-by: Christophe Guiraud <christophe.guiraud@intel.com>
[Samples] Added slidepush.py

Slidepush is a sample application that allows users to display the
contents of a presentation on a DMR.

Signed-off-by: Mark Ryan <mark.d.ryan@intel.com>
[SlidePush] Only call stop if renderer is playing.

Previously, slidepush always called stop before pushing an image to
a DMR.  However, this is only necessary if the DMR is currently playing.
SlidePush now checks the DMR's PlayStatus to ensure it is Playing before
calling Stop.

Signed-off-by: Mark Ryan <mark.d.ryan@intel.com>
[SlidePush] SlidePush now supports PDF files.

Signed-off-by: Mark Ryan <mark.d.ryan@intel.com>
[Task] Fix asynchronous cancel for Task

Signed-off-by: Regis Merlino <regis.merlino@intel.com>
[Task Processor] Add a finally callback

Signed-off-by: Regis Merlino <regis.merlino@intel.com>
[Task Processor] API cleanup

Signed-off-by: Regis Merlino <regis.merlino@intel.com>
[Tasks] Structure re-arch for rsu_task_t and rsu_async_cb_data_t

Signed-off-by: Regis Merlino <regis.merlino@intel.com>
[Tasks] Simplify many function prototypes following the struct re-arch for tasks

Signed-off-by: Regis Merlino <regis.merlino@intel.com>
[Device] Fix a memory leak

Signed-off-by: Regis Merlino <regis.merlino@intel.com>
[Valgrind] Added valgrind suppresion file for Quantal Quetzal

Signed-off-by: Mark Ryan <mark.d.ryan@intel.com>
[PushHost] Fix issue 87

RSU can now push files to the XBOX DMR.  All that was needed
was to add the ContentLength and ContentType headers to responses
to HEAD requests sent out by RSU.  Actually the ContentLength header
existed before this patch but its value was always set to 0.

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