Add support for Collections to TermsQuery/InQuery 

Currently passing in a collection such as List<Integer> to search a field in will not work unless you first convert it to an array.