fix($parse): add `.assign()` function to settable expressions in CSP mode

Also fixes the test suite, which was not actually taking CSP-mode paths when
we were expecting it to.

Numerous CSP-mode tests are failing, working on fixing these.
The code was in one branch and not the other, thus the bug --- adding it to both branches doesn't make sense since it's the same code, thus it is factored out