Consolidate functions in v4 spec.

Per https://github.com/mapbox/mapbox-gl-style-spec/issues/96.

- [x] @ansis `doc` key for `base` ?
- [x] @ansis do you want migrations for old `exponential`/`linear` fns to `stops`? We could also do by hand.