Use addOrderHistory() rather then removed confirm()

Protect usage of HTTP_RAW_POST_DATA as it is being deprecated. Also
checkout order has been rewamped, the new call seems to be
addOrderHistory().
Verify the SSL information; Check and report possible errors
Use addOrderHistory() for all order updates.

This also removes the need for the ugly workarounds forcing us to set
the order_status to 0 before processing. It also removes the need for
mailing our own emails as this is done within the order status call.
Also we can remove our own setOrderStatus() call.
Add default options for the statuses.