Add compatibility with SonataMediaBundle 2.3

upgrade 2.2 to 2.3 version of SonataMediaBundle