Lost redeemed vouchers in order editing

Coupon, reward points, and credit also.  Needs more testing before
commit to main repo.
Add missing type casts

https://github.com/opencart/opencart/commit/4c705befb2c7a7a93dbec5d9489eace6baab19c8

https://github.com/opencart/opencart/commit/75a265d2d74c707f033df9cbf217fcf6961e93fb
Fix for order statistics
Upgrade script addition for customer_ban_ip

http://forum.opencart.com/viewtopic.php?p=375707#p375707
Removed commented out code

https://github.com/opencart-ce/opencart-ce/commit/8a4086536dc29bcb9c353693d3077aa8bd7415d9
Fix for getTotalEmailsByProductsOrdered()
Update UK VAT rate
Fix LiqPay order status
Fix missing postcode error display in admin
Minor javascript comment/close script fix

Will now validate properly for anyone using Netbeans 7.3/Nashorn based
javascript parser

https://netbeans.org/bugzilla/show_bug.cgi?id=226471
Updated MySQLi database engine class

Base on
https://github.com/opencart/opencart/blob/f4bab7f8551fe9ae20540d08af9a03d5a79c7eb9/upload/system/database/mmysqli.php
Minor style update
Fix for nonstandard HTTP_X_FORWARDED_PROTO header

Fixes https in loadbalancers.

https://github.com/opencart/opencart/issues/845

http://en.wikipedia.org/wiki/List_of_HTTP_header_fields#Common_non-standard_request_headers
Switched MySQLi to fetch_assoc()

since numbered indices aren't used.

https://github.com/opencart/opencart/pull/812
Added Klarna Account minimum for Germany

https://integration.klarna.com/en/api/klarnaservices/account
Add preliminary version for people complaining
Merge remote-tracking branch 'upstream/master'
More HTTP_X_FORWARDED_PROTO header work

https://github.com/opencart-ce/opencart-ce/commit/36260c439ee624bb1a9d77cc3e5f9a23a1bd3853#commitcomment-3924059
Revert "More HTTP_X_FORWARDED_PROTO header work"

This reverts commit 30ff6ac548bf11a1f204668c217286352d505afa.
Much simpler HTTP_X_FORWARDED_PROTO header fix

Also set Paypoint and Worldpay to be more consistent/inclusive when
checking for HTTPS