Use getattr() trick for statement contact details billing setting
Handle None credits when calculating totals for rendering statements
Remove unnecessary whitespace
Add more tests for billing statement views