Country ISO Code 3166 Upgrade Fixes

* check for current WPeC database version less than 11 before adding notes to countries in lists
* added convenience routine to get the current database version and return it as an integer
* category country list uses WPSC_Countries rather than going directly at database