Fix for #390

* Added a check for the presence of the serializer service in the compiler pass
* Improved documentation how to set-up a serializer (for  as well as the Symfony  component)
* Updated unit test for compilation pass