Bug 835507 - lazy load email resources

This provides around a 200-300 ms improvement in loading the email app.

I was using MozAfterPaint to detect an idle state, but it appears we're removing support for that so I've replaced it with a simple setTimeout. We should probably hook into MailAPI now to determine when to preload the remaining resources.