Check medias and wysiwygs to know if an item has common fields

Without this commit, when a model just have shared medias and / or wysiwygs, the `hasCommonFields` method return `false`.
So the JS plugins to protect shared content wasn't applied.