Added general plugin auto patching to models

Moved validation and timestamps from model def into general plugins;
Refreshed models;
ToDo: the mutex plugin for data record access control on the same role
level