Fix some on-disk encryption stuff.

- Use non-dumb method for generating keys.
- Introduce real versioned file format with header
- Salt passwords
Some refactoring to support other data formats.
Lastpass CSV working
Clean up a bunch of names, etc.
New version 1.2.