Added javascript checks on profile edition fields
Badge rules edition now just change the version of the badge, instead of duplicating it with a soft delete...