Clean up Sage Pay card brand mapping and add tests. Refs #114 Closes #93 Closes #91