Added test revealing loss of precision in divideAndRemainder(BigDecimal) and divideToIntegralValue(BigDecimal).
Fix loss of precision in BigDecimalAmount.divideAndRemainder(BigDecimal) and divideToIntegralValue(BigDecimal).
Merge pull request #2 from clanie/master

Fix imprecise division functions in BigDecimalAmount.
- Extended/adapted exchange rate.
- Factored out functionality for providing additional attributes.
- Factored out CurrencyConverter.
- Simplified Conversion interfaces.
- Added/adapted access for exchange providers and currency conversion on
the Monetary singleton.
Moved AmountUtils into its own ext(ensions) module.
- Moved region support into ext package.
- Moved implementrations to RI.
Added licence header.
- Extended MoenataryExtensions to define an exposed type.
- Moved MonetaryExtensions back into SPI, since now it is clearly
decoupled.
- Refactorted region support with interfaces.
- Extended API/SPI accordingly.
- Adapted RI implementation.
- Added RI code for extensions also considering the new exposing type
method.
- Added tests for the Monetary singleton.
Added test for the extension features.
Completed tests for Monetary singleton.
Fixed registration for extensions, due to moved MonetaryExtension
interface.
Constructor now throws CurrencyConversionException when the factor is negative