Major database revision

Cleaned up data relations in database. Now the collectedIDs column in
User table is useless.
No need to worry about outdated sync between collectedIDs and ECardNote.

The bridge between User and ECardInfo is only ECardNote.
As long as one ECardNote is deleted, the bridge between this user and
the Ecard is burnt. All records will be consistent and in sync.