Added comments and return err from getAccountSalt.

Added comments for readability. Added return value 'err' to getAccountSalt so we can determine if getting the salt value erred out from an internal issue or if the account did not exist.