Document "buildOptions", add a "buildTypes" section, an index and make some clarification wrt. global fields.