[IMPROVED] Versioned password hashing support

Addresses #2047
[ADDED] Upgrades hashes after pin/password update
[ADDED] HASH_VERSION for easier hash upgrades
[FIX] HTTP(s) Detection on Mail Templates
Merge pull request #2135 from MPOS/hashing-improvements

Hashing improvements