Saving/loading/generation one-time pads

Adding saving and loading to memory
- Saves the pads in $filepath/$contactnumber/local and
$filepath/$contactnumber/contact
- Saves the offsets in preferences
- Loads from the same places
- Minor associated fixes to OneTimePad to support this
- Generation of one-time pads is supported
- Fixed some minor bugs