adding check for post type to body class so we get our body classes showing up on single products and the main product listing
- stopping the fancy and using WP built in is_tax

Why be 'fancy' (which wasn't working) when WordPress provides a built in
helper for this called is_tax. Using it instead and we're getting
expected behaviour.
removing globals we are not using now
fixing indenting and spacing
adding docblock
- fixing spacing and coding standards

This fixes the spacing to conform to WP standards and kills the one line
conditionals which are now NOT acceptable according to WP stanards.
- adding cat slug to body class

Now we have the cat slug added to our array of classes.
formatting clean up
- adds single product id to body class

Uses wp internal get_queried_object and gets the ID of the post so we
have it as a body class.
- adding wpsc tag conditional

Had the category version of this already and no matching tag version.
Now we have a matching tag version for usage.
adding since to docblock
- adding wpsc-tag and wpsc-tag-{slug} to body class
adding return values to docblock
expanded docblock
making it more simple and adding $term as a var
updating docs to standards
adding line break before since tag
Merge pull request #1359 from curtismchale/issue-706

Fixing issue 706 with body classes