%store -r restores saved aliases and directory history, as well as variables

As reported by Catherine Devlin on the mailing list, stored aliases are never restored by the %store magic. This fixes %store -r to restore everything we're storing.