feature #1048 Trigger jQuery event on item add/delete in CollectionType (javierrodriguezcuevas)
feature #1048 Trigger jQuery event on item add/delete in CollectionType (javierrodriguezcuevas)

This PR was merged into the master branch.

Discussion
----------

Trigger jQuery event on item add/delete in CollectionType

This pull request is to add the feature explained in #1046

The events triggered are:
```
'easyadmin.collection.item-added': when item is added to collection.
'easyadmin.collection.item-deleted': when item is removed from collection.
```

The user can associate to jQuery events with something like this:
`$('.field-collection [data-prototype]').on('easyadmin.collection.item-added, easyadmin.collection.item-deleted', function() {...});`

Commits
-------

5d21510 Trigger jQuery event on item add/delete in CollectionType

OskarStark/EasyAdminBundle,javiereguiluz/EasyAdminBundle,javiereguiluz/EasyAdminBundle,ogizanagi/EasyAdminBundle,yceruto/EasyAdminBundle,ogizanagi/EasyAdminBundle,OskarStark/EasyAdminBundle,ogizanagi/EasyAdminBundle,yceruto/EasyAdminBundle,OskarStark/EasyAdminBundle,yceruto/EasyAdminBundle,ogizanagi/EasyAdminBundle