This small extension allow new metaclasses to be inserted in the "instance of" chain. It extends the normal new class definition template with an entry metaclasses: It is compatible with traits of course.