Fix most unit tests

A number of unit tests were broken, this fixes all but the "about logging" tests in test/unit/record/base_test.rb, which are a tangled mess.

* Some puts and posts changed, reflect these in tests
* Add additional ConsumerKeyUnknown error from oauth
* Remove extraneous primary key from TaxRate and fix test