Update Shopify.formatMoney function

Fixes https://github.com/Shopify/shopify-themes/issues/286

- Check to see if Shopify.formatMoney is defined.
- If not, define it.

@carolineschnapp @mpiotrowicz @stevebosworth 
would help to know what cents and format here are supposed to be or an example of how this would be called