Improvements/simplifications to how attribute copying is implemented.  Now
just check if the variable exists on the centroid geometry and copy based on
that.

Copy Local Variables is now disabled when binding to centroids.

Replaced mode int constant values with enum values.

Added defines for the string values of mode names.