add apache::def resource

The resource provides a convenient way to define runtime parameters
than can be checked with <IfDefine> directives.

Change-Id: Ifdd6d2a66c99c3f8c35cf22c8a1db537dba3bf83