Consolidate functions in v4 spec.

Per https://github.com/mapbox/mapbox-gl-style-spec/issues/96.

@ansis could you write a `doc` key for `base` ?