Define all non js-native types on root reference and add  object to define schema of root style document.
Add possible function properties.
Remove color as spec type. Being treated as a 'native' by lint.
Make version an enum -- must be '1'
Layer may match either single or composite layer def.
Adjustments to required properties.
Merge branch 'spec-schema' into spec-schema-v2
Add tests to validate reference format.
Merge branch 'spec-schema' into spec-schema-v2
Get schema v2 validating.
raw => v2.  must be a number.
default-value => default
Look into using v3-style type:'enum'/values:[a,b,c] pairs.
Merge branch 'spec-schema' into spec-schema-v2

Conflicts:
	index.js
	test.js
Merge in fixes from v3 testing.
Merge pull request #41 from mapbox/spec-schema

[not ready] Spec schema
0.0.1
Merge branch 'master' into spec-schema-v2
Merge pull request #40 from mapbox/spec-schema-v2

Spec schema v2