Fix the display of static media upgrade instructions in rb-site.
Fix the display of static media upgrade instructions in rb-site.

The static media upgrade instructions in rb-site didn't reliably work,
due to the state of the database not being what was expected at the time
when we output the instructions. So now we do the check before the
upgrade process begins.

beol/reviewboard,KnowNo/reviewboard,bkochendorfer/reviewboard,custode/reviewboard,1tush/reviewboard,beol/reviewboard,davidt/reviewboard,1tush/reviewboard,sgallagher/reviewboard,davidt/reviewboard,custode/reviewboard,beol/reviewboard,1tush/reviewboard,beol/reviewboard,reviewboard/reviewboard,1tush/reviewboard,chipx86/reviewboard,1tush/reviewboard,1tush/reviewboard,bkochendorfer/reviewboard,custode/reviewboard,bkochendorfer/reviewboard,1tush/reviewboard,custode/reviewboard,sgallagher/reviewboard,KnowNo/reviewboard,davidt/reviewboard,reviewboard/reviewboard,reviewboard/reviewboard,1tush/reviewboard,1tush/reviewboard,KnowNo/reviewboard,brennie/reviewboard,chipx86/reviewboard,brennie/reviewboard,KnowNo/reviewboard,sgallagher/reviewboard,bkochendorfer/reviewboard,sgallagher/reviewboard,brennie/reviewboard,brennie/reviewboard,chipx86/reviewboard,davidt/reviewboard,reviewboard/reviewboard,chipx86/reviewboard