Add database constraints

I there any reason the foreign keys are missing in database schema? I added some unique/foreign keys & changed length of name of database user. 

I use i-MSCP database from another application and these constraints make me more sure I don't break anything. But I think that they are interesting for you, too.