Solved the problem with buy now form class

Fix for #795
Removed anonymous function

Fix for #795
make sure HTML element replacements are set after meta changes when creating AJAX response
Check success property set by WP json success function
Reference replacements properties though thedata property of the response object rather than just the response object
Merge pull request #967 from ReactorShop/master

PR for comment on issue #956
Merge pull request #938 from rubensargsyan/patch-2

Solved the problem with buy now form class
only call visibility change on checkout page
Merge pull request #968 from JeffPyeBrook/fix-typo-in-funtion-name

Fix HTML Element Replacements on Checkout Page Update
If action_buttons wasn't an object/array would fail.

In our wpec templates, and even the default one it should just be
pulling the action button directly, not multiple. Though I am sure there
are times there are more than one. (Maybe if you have a widget or
something?) Either way both ways will now work.
Merge pull request #970 from marcusds/master

#969 refer to 969
Improve wording of "Address to calculate shipping with" options.
Change js selectors not to hide table rows that have payment information
Combined js selectors to perform single action when hiding, rather than hide then show
Fix malformed class attribute on "Shipping Address" header row
Fix multiple change events firing on single action.  Seems that the .on/.off calls where out of balance, as each change occured additional .change events were being added.
Merge pull request #977 from JeffPyeBrook/do-not-hide-gateways-on-checkout

Fix for hiding of payment gateway rows on checkout table described in #597 and multiple AJAX requests on click of shipping same as billing
Merge pull request #972 from benhuson/calc_shipping_addr_display

Improve wording of "Address to calculate shipping with" options.
Use checked() instead of old legacy code.
Default to add_to_cart as the proper action_button value, otherwise, grab the first value.
Eliminate notices on sales log page when shipping is disabled and/or shipping fields are hidden or removed.
Properly globalize purchlogitem in wpsc_purchlogs_get_weight_text(), and grab global ID early instead of late.
For new installs, don't require phone by default.
Ensure PayPal Express does not send a discount line item if the discount is set to 0.00