Fix model_joins.

When use join in sql or active record, we must have explicit references like: table1.ref_id = table2.ref_id
Result like bellow code:
$model_joins    .= "\$this->db->join( '$rel_data[0]', '$name_table.$field = $rel_data[0].$rel_data[1]', 'left' );\n";