Security Fixes

* esc_js() on parent.location redirect.
* Conditionally use wpdb::esc_like() for 4.0.  Fixes #1415.
* Cast category IDs as integers.

Closes PR #1522.
Security Fixes

* esc_js() on parent.location redirect.
* Conditionally use wpdb::esc_like() for 4.0.  Fixes #1415.
* Cast category IDs as integers.

Closes PR #1522.
Fix width and height fields for category admin page.
Move wpsc_category_image().  One of few functions in a theme engine component that was used in the admin, agnostic of theme engines.
Merge branch 'master' of github.com:wp-e-commerce/WP-e-Commerce