added optional currency to transaction

Needed for CHF for example. Also fixed specs warnings for rspec 3.