Fix setting the 'Class' attribute on Accounts.

If you try to set the 'Class' attribute on an account, you'll get a
NoMethodError about the method "class=" not existing. This patch will try
the straight key name first, and if that fails, fall back to the field's
internal name ('account_class', in this case).
Allow payment dates in string format.
Merge remote-tracking branch 'origin/allow-string-payment-dates' into http-methods
Merge remote-tracking branch 'origin/fix-account-class-error' into http-methods