Remove the ability to specify a function for layer properties.

For example, gamma, alpha, hue, etc.  The main motivation is that these functions took a `FrameState`, which is now private.  But really the function feature isn't very worthwhile, so I removed it entirely.

As discussed briefly in #1988.