Only show upgrade notices if DB is set up.

Fixes #1044 by checking to see if the wpsc_version option is set before
using it to decide which upgrade notices to display.
Merge pull request #1045 from jbeales/stick-to-install-notice

Only show upgrade notices if DB is set up.