Database: Add more tables

Add Changes table for change overview information
Add FileInfo table for information about file state with a change
Add MessageInfo for comments about a change
Fix some table issues.

Change-Id: I049696f602da64e785ceef082cb5b996da0fd671