Remove messages indexing
Add some comments to database structure
Update plugins message system.

Now arbitrary data can be attached to any message.