Add call to send email & bool option for shipment

This change explicitly calls sendNewOrderEmail() to notify customers when their payment is completed.  Also, added new boolean parameter to give the merchant the option to turn on programmatic shipment creation instead of just commenting this out completely.  Also added error handling to order cancel function.