Merge pull request #17 from kvark/t-ari

Removed memory allocation from Ari encoding.
Reimplemented BinaryModel. Added sum proxies for binary model and frequency table. Implemented tests for BinaryModel.
ARI - Implemented a combined test for proxy models.