change while loops with foreach
Merge branch 'patch-20' of https://github.com/acidvertigo/oscommerce2 into acidvertigo-patch-20

Conflicts:
	catalog/includes/classes/order_total.php
Merge branch 'acidvertigo-patch-20' into optimizations
Merge branch 'optimizations' of github.com:haraldpdl/oscommerce2 into optimizations