Add CKEditor browsing and uploading medias feature

Move all code to SonataFormatterBundle

Add a security check to check if SonataMediaBundle is loaded

Add a check for creation permission

Update header file