Use plural for class_definition

Add cascade deletetion for class_definitions

Change-Id: I21a7674b17d2be727d86db64c114c024f32ade1d
Merge "Use plural for class_definition"