Fixed compile errors and added a bunch of unit tests for SalesforceSecurity library.

*And* test that neither of the aforementioned are present in the wrong stores, after the passcode change.