Move new version and upgrade checks to viewlet

prevents ajax requests on each page.  Also has a session key for preventing multiple checks in the same day.

Previous test run took me 85 minutes.  WIth this code merged, tests take 60 minutes.  Still not good enough.

Tests do pass.  BUT some are still failing until run separately!