Fix bug in attr_accessor_with_history.

Fixes a bug in attr_accessor_with_history which was causing values to be stored
inside an array.
Split line into two in Currency#validate_unit.

Split two expressions on one line onto seperate lines in Currency#validate_unit.