add symfony2 DataTransformer and EventSubscriber
Merge pull request #268 from chrisyue/master

add symfony2 DataTransformer and EventSubscriber