Add access to specifying %define SPEC properties.

This allows for the specification of %define properties in both the
options and task-specific configurations under the property name of
`defines`.
Merge branch 'feature/defines' into develop