Databases indexes and more

Added database indexes (#248)
Using Doctrine\DBAL\Schema\Comparator to compare and alter tables, leaving removed fields in contenttypes available (can show warning about removed fields but doesn't to stay same as before, code is available in comment).
Using date field for type "date" instead of datetime.