Replaced wpsc_get_child_object_in_terms

More efficient query, more efficient function
Coding standards

Adjusted line breaks, parenthesis and spacing to conform to coding
standards
Merge branch 'wpsc_get_child_in_terms_query_fix'