re-integrate friendsofsymfony/rest
use the core XmlEncoder class inside XmlDecoder
make the Codes class finall
updated information about serializer dependency
Merge pull request #583 from FriendsOfSymfony/drop_rest_lib

re-integrate friendsofsymfony/rest