Made an adapted copy of Lucene's CharArraySet 

Concerns
1. Copyright
2. Circular dependency
this is fine, but usually you put the copyright before the package statement (as a style nitpick)