Calculate rates per package

This PR is only for 2-1-stable, it contains the same changes sent to master and 2-0-stable

for more detailed info check this PR https://github.com/spree/spree_active_shipping/pull/138