Fixed failing build shell script and made it more robust. Set notifications per Spree engine and added comments.

Fixes #3205
[api] Set bill_address to nil values where API now requires them thanks
to ac64127