This commit adds support for the curves object to the apply modifier
operator. A warning is added when the evaluated result of the modifier
doesn't contain any curves data.
I refactored the mesh function that removes anonymous attributes
to work on geometry components instead, so it's reusable for the
curves type. I'll commit that change separately.