New wait page. Implement uploadInBackground pref.

The wait page is now loaded from an offline chrome:// address. This
fixes a bug with the wait animation. Also, the wait page and the
success page now have a checkbox that allows the user to set the
"uploadInBackground" preference.