Bump some dependencies so that tests can pass.
Adds some specs for authorize and capture.

Also, tweaked a couple of minor things.
Fix some deprecation warnings.