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