some tweaks
migration to remove unused role records.

The reason to cleanup these is because the old ActiveScaffold backend causes
many orphan and duplicated records in roles database table.
Cleanup role related codes
Remove datatypes table from database