Moving existing SmartStore key management into separate upgrade class

For the first pass of changing the encryption scheme for SmartStore to use the key store, I just wanted to move all of the current key management functionality into a separate class (`SFSmartStoreUpgrade`).  I haven't otherwise made any functionality changes to the underlying logic at this point.