Refactor gateway options to its own class.

Fixes #5613
Fix translation keys.
Add custom_params to completion_route
Fixes #5661
Only want latest valid payment. Fixes #5665
Change the default canonical URL for a store to example.com

[Fixes #5674]
Scope option value uniqueness to type. refs #5630