Rename metrictables

Rename all tables for metric. Change enabled column in table project and diagramcontext to boolean. Remove totalClassMaxPoints in classes