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

Oh, good catch - I spent a lot of time on these trying to understand what was going on, so this is remnant of me trying to force out "myLabel"... ;)