doc: Add documentation for options.globals

Partially addresses the concern in jadejs/jade#1689