Add SonataMediaBundle generation to build script