Bluepay: Add Check support; general cleanup

Brought the gateway into better alignment with AM coding standards.

Also fixed an issue with the wrong value being passed for checking
accounts. Unable to get a passing remote test due to not having a test
account set up for checks, but the new error looks more reasonable.

Closes #678.