Made an adapted copy of Lucene's CharArraySet 

Concerns
1. Copyright
2. Circular dependency