Password file versioning, support for old versions
[Issue#] SSDWSSP-711
[Bug/Feature] Security server crashes after update to version with a
new password file format.
[Cause] There was no backward compatibility support.
[Solution] Introduce a new password file format with versioning and
algorithm identifier associated with every password
entry. Additionally security server can read all old
password file formats, but can only save in the newest.
Also incorrect file mask was fixed.
[Verification] Build, install, run tests. Check migration from old
password file formats to the new one (folder:
/opt/data/security-server, old file name: password.pwd,
new file name: password).
Change-Id: If25952ddc467172fc8032fb98a31e9413762882e