WIP mediaClick
add mediaPurpose when creating media
add mediaPurpose in ajax request when creatin a proposition
fix entity
Merge pull request #313 from arnaudbey/mediaClick

Media click