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