RubyMoney/money — pull request #315 by fklingler (2013-09-11 15:31:14+00:00)
Title: Fix .to_money not keeping full precision when using Money.infinite_precision = true

I ran into a problem using `.to_money` in conjunction with `infinite_precision`:

```ruby
[5] pry(main)> Money.infinite_precision = true
=> true
[6] pry(main)> 100.009.to_money
=> #
[7] pry(main)> Money.new(100.009)
=> #
```

This PR fixes this problem, and adds test for it!