Fix performance of wpsc_get_child_object_in_terms

also updated code to standards
renamed function
Renamed function
Coding standard updates

removed spaces between parenthesis in function calls without parameters
removed .gitignore