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

I generally prefer the clean up at the end of the given test that created the data, as you never know what order tests are going to run in, and otherwise one test shouldn't really need to know about the details of another.