Update POM version numbers to 5.1.0-m1

Last PR to be merged before tagging 5.1.0-m1, or can be closed if a version bump is not desired for the milestone (I defer to @sbesson).