[WIP] enabled json/xml support, this currently fails because the serializer does not yet support PHPCR ODM
added FOSRestBundle exception controller
Merge pull request #219 from symfony-cmf/rest_api

enabled json/xml support