unit tests for tpl core up
main class bugfix for load_class_file
tpl bugfix for template load order and plugins
model class up
model unit tests up