Fix for own regression, editmode object selection (Ctrl+RMB)

Wasn't working because of editmode override (which uses regular object selection in editmode)
Fix T38209: Curve's didn't account for negative scale

Would use the face winding from the previously drawn mesh
fix #T37892 BL_ArmatureConstraint.active returns wrong value

patch (with changes from me) by Séverin Lemaignan (skadge)
Bevel Modifier: add width type and profile control.

This adds to the modifier the new controls that have been
added to the bevel tool.
Bevel fix to clamping for percent type.

The clamp code is still very crude and over-conservative,
but was totally wrong for the percent amount type.
fix #T37894: IK constraint desactivation does not work as expected

patch suggested by Séverin Lemaignan (skadge)