[Upload] Implemented UploadToAnyContainer

UploadToAnyContainer allows local files to be uploaded to a DMS.
The DMS determines an appropriate location for the file once it
has been uploaded.

This commit implements part of issue 34

Signed-off-by: Mark Ryan <mark.d.ryan@intel.com>
[Build] Updated to version 0.0.3

Signed-off-by: Ludovic Ferrandis <ludovic.ferrandis@intel.com>
[Device] Remove callback when unable to re-subscribe

Signed-off-by: Regis Merlino <regis.merlino@intel.com>
[Settings] Create user config dir if it does not exist

Signed-off-by: Regis Merlino <regis.merlino@intel.com>
[Upload] Implemented Upload

This commit addresses part of Issue #34 Support File Upload.  It adds
a new d-Bus method that allows clients to upload a local file to
a specific container on the server.  It re-uses most of the code
previously added to implement UploadToAnyContainer.

Signed-off-by: Mark Ryan <mark.d.ryan@intel.com>
[Bug] Fix Issue #57

media-service-upnp now correctly derives the Type of specialised upnp classes it does not
recognise but which are derived from classes that it does.

Signed-off-by: Mark Ryan <mark.d.ryan@intel.com>
[Mediaconsole] Update properties printing

Use python built-in json module dump() function for properties
 printing.

Signed-off-by: Christophe Guiraud <christophe.guiraud@intel.com>
[Property] Add more media object types

This commit addresses Issue #44 Add more object types.

https://github.com/01org/media-service-upnp/issues/44

The below new object types have been added:

Items
 'video.musicclip', 'video.broadcast'
 'audio.broadcast', 'audio.book'

Containers
 'album', 'album.music', 'album.photo',
 'person', 'person.musicartist'
 'genre', 'genre.music', 'genre.movie'

API.txt updated to describe the added object types.

Signed-off-by: Christophe Guiraud <christophe.guiraud@intel.com>
[Upload] Fix issue #62

HTTP post requests sent to upload files to DMSs now contain the
"EXPECT: 100-continue" header.

Signed-off-by: Mark Ryan <mark.d.ryan@intel.com>
[Property] Add RefPath property

Manage a new upnp property refID, that identify items that reference
other items.

Convert refID property to RefPath.
RefPath is a new MediaItem2 property.

Fix https://github.com/01org/media-service-upnp/issues/59

Signed-off-by: Ludovic Ferrandis <ludovic.ferrandis@intel.com>
[Property] Add 'Restricted' property

Manage a new upnp property 'restricted', that indicates an object is
modifiable or not.

Restricted is a new MediaObject2 property.

Fix https://github.com/01org/media-service-upnp/issues/64

Signed-off-by: Ludovic Ferrandis <ludovic.ferrandis@intel.com>
[Build] Updated to version 0.1.0.

Signed-off-by: Mark Ryan <mark.d.ryan@intel.com>
[Doc] Add PreferLocalAddresses documentation

Signed-off-by: Regis Merlino <regis.merlino@intel.com>
[Manager] Add PreferLocalAddresses method

Signed-off-by: Regis Merlino <regis.merlino@intel.com>
[Client] Move msu_client_t into a separate header file

Signed-off-by: Regis Merlino <regis.merlino@intel.com>
[Manager] Implement Network Interface Selection: make use of PreferLocalAddresses()

Signed-off-by: Regis Merlino <regis.merlino@intel.com>
[Test] Add PreferLocalAddresses test

Signed-off-by: Regis Merlino <regis.merlino@intel.com>
[Doc] Add the MediaObject2 Delete() method

Signed-off-by: Regis Merlino <regis.merlino@intel.com>
[MediaObject2] Add and implement the Delete() method

Signed-off-by: Regis Merlino <regis.merlino@intel.com>
[Test] Add the MediaObject2 Delete() test function

Signed-off-by: Regis Merlino <regis.merlino@intel.com>