fixes python 3.3+ immutable __init__ call
GrammarCollection is now a set
removes Encoding class