Updated HttpApplicationBase a bit to fix bug

Apparently one of the Glimpse packages that we've set up in the default
installer is using Castle somewhere and that is screwing up the
profiling.