help in fixing #4
adds max_wildcard_expansion option
- adds the 'advanced' option (tho not sure this does much)
- builds the search query (for advanced searches) based on the index type e.g. uses an OP_FILTER to filter boolean tearms
- some clean-up
minor changes - eval loading the index method