Add extension method in getCMSFields()
Merge pull request #44 from irxjason/patch-1

Added updateCMSFields hook in Variation->getCMSFields()
I have been working on a seperate project using Swipestripe that accepts Bitcoins as a payment option. Swipestripe does not provide adequate support for digital currencies out of the box, so I have made a few modifications.

* I have adjusted the PriceField in the CMS to allow a greater precision than two digits, as this means the smallest unit of price we can allow at current market rates is approximately NZD $7. Behind the scenes, Swipestripe can handle four (so $0.07) but Bitcoin supports up to eight.
* I have updated all Decimal(19,4) database fields to Decimal(19,8).
* I created a BaseCurrencyPrecision field in ShopConfig with a default value of 2. PriceField uses the greater value if set, and validates more than 2 digits after the decimal place.
Return missing line from Variation.php
Update Product.php

Need extension for validating variation
Merge pull request #46 from jason-zz/patch-2

Update Product.php
Merge pull request #45 from silverstripe-elliot/BaseCurrencyPrecision

Modifications for Bitcoin and other digital currency
Merge remote-tracking branch 'upstream/2.1' into 2.1