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

Conventionally, property accessors would be in the format of `mgr.passcodeKeyStore`.  Both are technically correct, but the dot format calls out that it's a property, vs. a method.