added local database for all templates entities
fixed template parameters
fixed findType function: search id in variable databases count
fixed locale database for templates
added scope search function with variable databases count
added code generator for template class method
added tests for generate template swap function
completed code generator for template method
added code generator for templated class
completed code generation for template classes