[function templates] make obj_var_create() and var_create() accept const tstr *
[template functions] have internal version of function_new() that accepts the function prototype object
[function templates] initial function templates implementation