Fixed some more stuff associated with external Raet

Updated SaltSafe may have found key persistence problem.
Also fixed stuff in salt.utils that was based on raet that I missed before.