move default freight to SalesOrder, add credit calculations
get tests passing
Merge pull request #1243 from julesstp/22397-CostAndTax

22397 cost and tax