Fix filter and paging in sonata_type_model_list

After using a filter or clicking on a paging button, the event hooks were not reloaded so when clicking on a list row the user was redirected to the edit view instead of inserting the selected object into the field.
I fixed this by pulling the "jQuery('...).on" calls into a new method which is then called each time the filter or a paging link is used. I also corrected two comments in the code.