Updated the remove_order function to try to restore stock
when an order has been removed.  Functionality has been tested (a little).
Merge pull request #10 from potteryhouse/Update4

Combining branch 4 to main so we can move on with other changes.
Modified the Admin side for populating all combinations of a product.
This is an extension off of the Remove Order version of the code.  The
new function (added to the general function file) has a recursive aspect
to it allowing any number of attributes to be identified to a product.
Also the for/if loop was increased to handle an additional loop of a
product to be used for comparison between the two routines.
This is a sort of merge of branches to be able to move to another branch.
Where to begin... This was supposed to be an update merge to
bring code written here to the same level as in the master on github;
however, then all of a sudden some new functionality was added and some
other code cleanup done.  Still need to merge the remaining threads into
this one...

Major change is that added a orders table that is populated when an order
is placed with a SBA tracked item in the cart. Also fixed the
header_php_sba.php file.. Was missing a reset on the array generated in
the store's header_php.php file.  Still torn as to which was is the "right"
way to go with this part of the mod... By adding distinct into the original
file, that file is different than a default store, and upon upgrade may be
overwritten or may stay the same if that file is updated with the distinct
query term.  The other route, with the additional file, well, it doesn't
get updated per se and may leave behind old code that should be...
Tough to say...
Merge branch 'master' of https://github.com/potteryhouse/stock_by_attribute_1.5.3.git into mc12345678-MergeBranch
Merge branch 'mc12345678-removeOrder' into mc12345678-MergeBranch

Conflicts:
	includes/classes/order.php
Merge branch 'mc12345678-removeOrderAndIncreaseAttributes' into mc12345678-MergeBranch