Algorithm of updating user profile is improved

Now the function checks user not only by email, but also by launchpad id.
If needed user profiles are updated with missing data and merged. Unused
profiles are removed.

Also introduced user sequence number in order to keep track all stored
users.

Improved test coverage for record processing

Change-Id: I4c9263dd3f0e55fba29e7e50498f015c84af9c8b
Merge "Algorithm of updating user profile is improved"