Added query provider factory
Method definition of CreateQuery is obtained from INhQueryProvider instead of DefaultQueryProvider