Implement notification repeat feature.

As discussed and agreed on in #393.
Fixes #393. Fixes #1131.
Solved in the latest version, the MasterSecret is now in the intent.