Restore old session data if we had to create a new session

Bug #11573
Fix adding certificate from certain S/MIME messages (Bug #12386)
Mirror changes to S/MIME driver
Add Hungarian to list of languages available for spellchecking

Request #12387