Update whitespace & braces to WP Coding Standards

Just a bit of nit-picking related to WP coding standards. No
functionality has changed.
Fix some conflicts
Don't show transaction results if the viewer didn't make the transaction.
Fixing small errors in USPS settings page
The label on the USPS shipping options didn't match the input id
because of what seems like a typo. That's fixed. I also fixed the
shipping options not reflecting in the form properly, by casting the
returned value of array_search (the index it was found at) to a bool
to make it comparable internally in the checked() function
Port WPSC_Product class over from the new theme engine
Stats API for products and purchase logs
Get date range stats for individual products and collections
Fix PHP notice
item count is sum of quantity field rather than count of rows
Merge branch @JeffPyeBrook PR #647.

Fixes #646, #647.
Find action as sibling of submit button (child of current form)
Merge PR #641

Fixes #640
Closes #641
Added 'wpsc_after_checkout_cart_rows' action.
Merge PR #639

Fixes #638
Closes #639
User shouldn't have to link their account in order to browse the marketplace.
Don't need the "Link Account" notification any more
Let users view add-on Details even when not authenticated via OAuth2
Use Sputnik::account_is_linked() to check for linking status
Let user resume Purchase flow after OAuth2 authentication
Merge PR #632

Fixes #631
Closes #632