mesh: Add function to restore net key state from storage

This creates subnet state based on saved network key state:
current keys and, if present, updated keys.
Secure network beacon is generated according to key refresh phase.
3 files changed