Merge pull request #345 from sylvaindeloux/master

Fixed serialization
Fixed dependencies
Merge pull request #346 from Bladrak/api

Fixed dependencies
Update composer.json to respect psr4
Update autoload.php.dist
Fix autoload path
Updated dependencies
Merge pull request #347 from Bladrak/updateComposer

Updated dependencies
Added mongodb support for api
Merge pull request #350 from Bladrak/apiMongo

Added mongodb support for api
Allow null to be passed to setOriginalRoles, and if originalRoles is empty, cast it as an empty array.
Merge pull request #351 from SonyATV/sonyatv-master

Fix error new group originalRoles null condition (original pull request #301)
Added serializer handlers