Moved javascript include to layout xml and sourced protocol with javascript
Update shipping method before placing order

Previously, if a user entererd their billing address and immediately
clicked 'Place Order' (i.e. accepting the default shipping and payment
methods), they would get a server-side validation error saying no
shipping method had been selected. This change submits the shipping
method info to the server before the save order call, which gives it
a chance to save the shipping method and avoids this error.