Skip resource if resource-macro method returns nil.
Whee-lease.
Remove gratuitous use of refinements.

Revert to monkey-patching core Ruby classes :-)
Exclude Resources and Outputs sections when they're empty.
Add support for Mappings.
Support block version of def_mapping.