Adds PageContextFilter.Static#getRequestOrNull and #getResponseOrNull so that those calls don't generate expensive exceptions.
Fixes defaults not clearing correctly when restoring a saved object from the database.