Added max encoded bit width for dictionary encoding.

How did you guys do dictionary encoding?  I thought we wanted to add this from one of our earlier meetings to allow for streaming/one pass dictionary writing.

The usage would be:
buffer one page, encode it and set the current dictionary size as the max index.