Add methods for currency conversion to/from fractionized

* Adds methods for conversion to and from fractionized currency values (cents represented as `long`s), into `BigDecimal` values.

Ping @adamvoncorswant and @mikaellothman .

These functions and the corresponding unit tests were mostly copied from our other repo. The non-fractionized parameters have been changed to `BigDecimal` though.