Add factories, refactor tests

Add customer, recurring_payment, customer_account, credit_card_account
factories. Refactor customer_spec. Begin deprecating spec_functions.