Use get_the_terms() instead of wp_get_object_terms() when duplicating products.

Issue #100.
Replace almost all wp_get_object_terms() with wpsc_get_product_terms().

The only exceptions are calls to wp_get_object_terms() with multiple $ids as
arguments.

Issue #100.
Fix fatal error on front end.