Fix Product convert domain for non relate

This Patch has fixed search domain conversion which converts domain like
 [('template.category', '=', 1)] to [('template', '=', 1)].

 issue3118
 review1056003
Tests for fixing product convert domain for non relate

issue3118
review1056003