Fix outputAutoHeaderItems() for global blocks

The basic approach here was to handle page-specific blocks when the page is being rendered and handle global blocks when the block is being rendered.

See the following bug report...

http://www.concrete5.org/developers/bugs/5-6-1-2/global-areas-outputautoheaderitems/

-Steve