Bug 946929 - Part 1, Don't schedule paint related events in a detached pres context.  r=roc
Bug 946929 - Part 2, Disable painting for the shell while the child views are detached.  r=roc