update test to expect case preservation in term query/filter
add support range and type filters
Merge branch 'range-and-type-filters' of https://github.com/kielni/elasticsearch.js into kielni-range-and-type-filters

Conflicts:
	test/tests.js