Prevent exceptions when calculating shipping taxes

This is the first step toward handling shipping taxes.
The next steps will be passing on shipping info to Avatax and making sure we're hooking into all the right places to capture shipping changes.
Fix deprecated rspec code
Merge branch '2-2-stable' into 2-2-dev