Refactor to allow sites to set their own default error handlers.
Refactor to allow sites to set their own default error handlers.

git-svn-id: 8b0eea19d26e20ec80f5c0ea247ec202fbcc1090@453 5646265b-94b7-0310-9681-9501d24b2df7

kirkeby/sheared