preparing order-processing function
progress on order creating function.
added getCartTotals() to CartsController used in CartIndex and createOrder