API Allow clearing of current site

Added ability to clear out the current 'site' so that code that deals
with multiple sites in a single request can reference different
ones correctly (in particular static publishing)