The screw modifier generates doubles for points that lie on the axis of rotation, this patch adds and option to remove those doubles so you can safely stack for instance a solidify modifier on top of the screw (this would generate a hole in the mesh otherwise)
Example file:
without merged verticies:
with merged vertices:
I put the function in MOD_util so other modifiers may in the future call this function to get rid of their doubles.
I decided not to add a merge distance in the UI since only vertices on the axis will be generating doubles and FLT_EPSILON will catch them.

