Merge pull request #268 from chrisyue/master

add symfony2 DataTransformer and EventSubscriber
add phpunit snippets