Use SPA wait-to-finish conditionally (bug 1032316)
Merge pull request #508 from muffinresearch/point-to-spartacus-for-wait

Use SPA wait-to-finish if SPA_ENABLED is True (WiP)